GetSubstrings method (symbols)