09-20-2009, 04:01 PM
Call format() 2 times. At first format "N:\%07i%x%i.wav", then use it in the next format() as first argument. Or use from().
int Cart=75321
int Cut=100
str sCart.format(_s.from("N:\%0" 7 "i%x%i.wav") Cart Cut/10 Cut%10)
out sCart
int Cart=75321
int Cut=100
str sCart.format(_s.from("N:\%0" 7 "i%x%i.wav") Cart Cut/10 Cut%10)
out sCart