Show Xth character in a string (1 Viewer)

ECEK

Registered User.
Local time
Today, 12:40
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
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 07:40
Joined
Feb 28, 2001
Messages
27,001
Darn, plog beat me to it while I was on another question.
 

jdraw

Super Moderator
Staff member
Local time
Today, 08:40
Joined
Jan 23, 2006
Messages
15,364
You do check to ensure you have "noreq" or more characters, right?

Len(stringToSearch) >= noReq
 

Users who are viewing this thread

Top Bottom