[General] How to change integer with chat string?

Status
Not open for further replies.
Level 20
Joined
Jul 6, 2009
Messages
1,885
Integer = S2I(Substring(Entered chat string, StringLength("-host "), StringLength(Entered chat string)))
Substring function takes original string and positions of first and last characters of substring in original string. For example, Substring("Stan", 1, 4) is "tan".
 
Status
Not open for further replies.
Top