Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If equals numbers
#5
I really enjoy using regex when i can!

Code:
Copy      Help
str a="1234567"
_i=findrx(a "\d{7}")
if(len(a)=7)
,if _i=-1
,,out "not 7 digits"
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)