[thelist] classic asp SPLIT()

Brian Cummiskey Brian at hondaswap.com
Fri Jul 28 12:48:49 CDT 2006


Hi All,

I'm familiar with using the split function, but i've never had to do it 
on an ascii character before.

I am given a datastring that looks something like this:

Code:

lidÿ123456ÿvidÿ7890



What i thought would be a simple,

Code:

Split(datastring,chr(255))



throws me an error:

Quote:
Microsoft VBScript compilation error '800a0414'

Cannot use parentheses when calling a Sub

page.asp, line 57

Split(datastring,chr(255))



the ÿ character is asci code chr(255). If I cannot use parenthesis in 
there, how am I to split this off?

Any suggestions?

Thanks



More information about the thelist mailing list