Don't judge me but I'm not good with JASS; I searched the lists you gave me and all I saw that were related to the substring/string problem I was having was:
//============================================================================
// String Utility API
native I2R takes integer i returns real
native R2I takes real r returns integer
native I2S takes integer i returns string
native R2S takes real r returns string
native R2SW takes real r, integer width, integer precision returns string
native S2I takes string s returns integer
native S2R takes string s returns real
native GetHandleId takes handle h returns integer
native SubString takes string source, integer start, integer end returns string
native StringLength takes string s returns integer
native StringCase takes string source, boolean upper returns string
native StringHash takes string s returns integer
native GetLocalizedString takes string source returns string
native GetLocalizedHotkey takes string source returns integer
But I don't know what native I should use to solve the problem.. Also, what is Integer Width and Integer precision? And if native StringHash takes string s returns integer, doesn't it have the same function as S2I?
//============================================================================
// String Utility API
native I2R takes integer i returns real
native R2I takes real r returns integer
native I2S takes integer i returns string
native R2S takes real r returns string
native R2SW takes real r, integer width, integer precision returns string
native S2I takes string s returns integer
native S2R takes string s returns real
native GetHandleId takes handle h returns integer
native SubString takes string source, integer start, integer end returns string
native StringLength takes string s returns integer
native StringCase takes string source, boolean upper returns string
native StringHash takes string s returns integer
native GetLocalizedString takes string source returns string
native GetLocalizedHotkey takes string source returns integer
But I don't know what native I should use to solve the problem.. Also, what is Integer Width and Integer precision? And if native StringHash takes string s returns integer, doesn't it have the same function as S2I?