IF TEST = 1 { ASSIGN PhoneNum = "8013203437" ASSIGN FullName = "Peter Parker" } //[String expression] Returns the characters from start through start+length. //The first character position is 1. IF start+length 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 start+length and tries //TO read them as a number. IF the characters do not represent a number, 0 will be //returned instead. ASSIGN LocalNumber = "{PhoneNum.mid(4,7)}" ASSIGN SpaceLoc = FullName.indexof(' ') ASSIGN FullNameLength = FullName.length ASSIGN FirstName = "{FullName.mid(1,SpaceLoc - 1)}" ASSIGN LastName = "{FullName.mid(SpaceLoc + 1,FullNameLength - SpaceLoc)}"