Show Xth character in a string

ECEK

Registered User.
Local time
Today, 07:53
Joined
Dec 19, 2012
Messages
717
Easy peasy !!

I have a field that creates a number "noreq"
I have my field to search "searchfield"
I am looking to extract the "noreq"th character fron the "searchfield"

eg
noreq:7
searchfield:ABCDEFG
Result: G

Thanks
 
Darn, plog beat me to it while I was on another question.
 
You do check to ensure you have "noreq" or more characters, right?

Len(stringToSearch) >= noReq
 

Users who are viewing this thread

Back
Top Bottom