Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
character search
#1
i just cant figure out how to make this work.
what am i missing?


Code:
Copy      Help
str a b
a="1234"
b.left(a 1)
if b="0-9"
,out b
#2
if(isdigit(a[0]))
#3
what am i doing wrong here?


Code:
Copy      Help
str a b
a="123"
b.left(a 1)
z=findrx(b "(\d)")
if z>0
,out b
#4
findrx, like other find functions, returns -1 if not found, because index of first character is 0.

if z>=0


Forum Jump:


Users browsing this thread: 1 Guest(s)