Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Format string...
#2
nothing fancy, probably similar to your method

Macro
Code:
Copy      Help
str s = "9"
if s.len > 2
,str s2.get(s 1 1)
,s2[0] = ('a' + val(s2))
,s.replace(s2 0 2)
else
,if s.len < 2
,,s - "0"
out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)