Hello ...
Entry=hiCreateListBoxField(
?name 'Entry
?multipleSelect t
?choices (list "x_y_1 (diodes)" "x_y_10 (clamps)" "x_y_11 (Protections)" ))
rules_check = buildString(
foreach(mapcar entry form->Entry->value
car(parseString(entry))
)
" "
)
multi_check = parseString(rules_check)
numPat=pcreCompile("\\d")
rules_number=buildString(
foreach(mapcar entry form->Entry->value
pcreExecute(numPat entry)
pcreSubstitute(numPat "&")
)
","
)
when am running above code am getting values of rules_number = 1,1,1 inspite it should be 1,10,11
where in code its wrong and how can i correct it?
BR,
The