you need to use
int index_of( string source, string search )
and/or
int index_of( string source, string search, int startfrom )
to locate the positions of the : and \
Next, use
string substring( string source, int start, int end )
to extract what you want,
you will probably need to...