Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strings with variables and variable format field
#2
Not with F-string. Use str.format and *.

Macro Macro2508
Code:
Copy      Help
str variable1="AAA"
int size=20
str s
s.format("text%*stext" size variable1)
out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)