Having a space at the end of the string ( for example "This is a string " ) throws RangeError (index): Invalid value: Valid value range is empty: -1. Removing the space ( for example "This is a string" ) fixes the problem. There might be a problem in the way string is parsed
Having a space at the end of the string ( for example "This is a string " ) throws RangeError (index): Invalid value: Valid value range is empty: -1. Removing the space ( for example "This is a string" ) fixes the problem. There might be a problem in the way string is parsed