SyntaxFix
Write A Post
Hire A Developer
Questions
Use the function advance(startIndex, endIndex):
advance(startIndex, endIndex)
var str = "45+22" str = str.substringToIndex(advance(str.startIndex, countElements(str) - 1))