[thelist] [SPAM] classic asp SPLIT()

Anthony Baratta anthony at baratta.com
Fri Jul 28 13:06:32 CDT 2006


Obvious question first: Where is your array to feed the results into?

e.g.

aryResult = Split(datastring,chr(255))

-----Original message-----
From: Brian Cummiskey Brian at hondaswap.com
Date: Fri, 28 Jul 2006 10:51:27 -0700
To: "thelist at lists.evolt.org" thelist at lists.evolt.org
Subject: [SPAM] [thelist] classic asp SPLIT()

> 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
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 
> 



More information about the thelist mailing list