Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
findrx
#10
Ok i did it like that now and it works


Macro
Code:
Copy      Help
str ChargeA

ChargeA = "(Charge A | 937,001.00)"
;ChargeA = "(Charge A | 93.00)"

if(findrx(ChargeA "(\d+,)*\d+\.\d+" 0 2 _s)>=0) _s.findreplace(",")
,if(findcr(_s ".")) _s.fix(_s.len-3)
,out _s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)