muttuOccasional Contributor14 years agoUnable to split the string using Chr(150) Trying to spilt the string using Chr(150) which is ASCI representation of "-". But below error is displayed. Sub SplitDemo2 SplitDemo2 Dim s, ss s = "May 26 - June 25" ' Split at...Show MoreSplitString.JPG37 KB
YMinaevStaff14 years agoHi,We've found a problem in your code. The "-" symbol has the #45 code, while you're trying #150. Use Chr(45) instead of Chr(150).
Related ContentHow to generate a random Number, String, AlphaNumeric stringUnescape Json StringsUnable to recognize a button in LoadNinjaRestrict string lengths in arraysDictionaries mapping strings to Array?
Recent DiscussionsInspecting a DotNetBrowser Chromium controlDynamic ObjectPulling in Dynamic Links from a web pageMultiple execution of a test plan with different values from an Excel tableYour thoughts about a REST API in TestComplete