Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 1065

Re: Check the first character of a string

$
0
0

Hi Bill,

 

Something like this:

 

stringvar s := {String Field};

if isnumeric(s[1]) then

'Number'

else if s[1] IN ['A' to 'Z'] then

'String'

else

'Garbage'

 

-Abhilash


Viewing all articles
Browse latest Browse all 1065

Trending Articles