I've been trying to use the following code:
Code: Select all
get the number of chars of field "RegisterPassword"
Code: Select all
get the number of nums of field "RegisterPassword"
What should I do, or try to do since this is an invalid statement?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
get the number of chars of field "RegisterPassword"
Code: Select all
get the number of nums of field "RegisterPassword"
Code: Select all
function numOfDigits str
put 0 into cntr
repeat for each char c in str
if c is in "0123456789" then add 1 to cntr
end repeat
return cntr
end numOfDigits
Code: Select all
function numOfDigits str
put 0 into cntr
repeat for each char c in str
if c is in "0123456789" then add 1 to cntr
end repeat
return cntr
end numOfDigits