IF TEST = 1 { ASSIGN EnteredAmount = 15269 ASSIGN PhoneNum = "8013203437" } //[String expression] Returns the characters from start through end. //The first character position is 1. IF end exceeds the length of the source text, //it will automatically truncate at the end of the source text. //[Numeric expression] Takes the characters from start through end and tries //TO read them as a number. IF the characters do not represent a number, //0 will be returned instead. ASSIGN AreaCode = "{PhoneNum.substr(1,3)}" ASSIGN AmountLength = EnteredAmount.length ASSIGN Dollars = EnteredAmount.substr(1,AmountLength - 2) ASSIGN Cents = EnteredAmount.substr(AmountLength - 1,AmountLength) ASSIGN TotalAmount = "${Dollars}.{Cents}"