Notifications
Clear all
[Closed] slice digits
Jan 02, 2017 6:58 am
Hello and happy new year max users!
Did someone know how to slice (delete) fisrts charaters in maxscript, like this in .js:
arrNum = "A001"
arrNum2 = arrNum.slice(-2) -- slice the 2 first digits
print arrNum2 -- EXPECTED RESULT: 01
2 Replies
Jan 02, 2017 6:58 am
<string>substring <string> <from_integer> <length_integer>