Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Syntax for findrx/replecerx
#11
try this.
Macro
Code:
Copy      Help
str a = "Your name: Im craig234, $$: 1327.54"
a.replacerx("^.+?(\d+)(\.\d+)$" "$1")
out a
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)