Hi; I have a password field with the following rules. longer than 6 characters, at least 1 upper case letter and at least 1 special character.
Clarion ver 6.3
Also new to string theory version 1.32
Having trouble with searching the password string.
Your question has been answered with working code on the softvelocity.clarion.language newsgroup where you posted.
Yes it was and very helpful as well.
It might be nice to post the answer here so it can be indexed and found via search engines.
This is what Jon suggested. JONWATERHOUSE@***
This worked great.
score = MATCH(pwstring,'[0-9]',Match:Regular)
score += MATCH(pwstring,'[A-Z]',Match:Regular)
if LEN(clip(pwstring))>=8 then score += 1.
This answers to some different question, not to “search a string longer than 6 characters, at least 1 upper case letter and at least 1 special character”?