Thanks guy.  Ending up using listtoarray

Brian Knott

ext 53954 Ph (07)3135 3954

From: [email protected] [mailto:[email protected]] On Behalf Of 
Mark Mandel
Sent: Tuesday, 18 August 2009 2:09 PM
To: [email protected]
Subject: [cfaussie] Re: Stripping out characters

oh, well if you want that, that is even easier.

split = line.split(";#");

name1 = split[2];
name2 = split[4];

Done.

Mark
On Tue, Aug 18, 2009 at 2:01 PM, Mark Mandel 
<[email protected]<mailto:[email protected]>> wrote:
Is this the only string, or is there more?

Does the position of 'Brian Knott' change, or is it always after the first ;# ?

Easiest way in my mind -

delim = ";#";
split = line.split(delim);
newline = split[1] & delim & split[3] & delim & split[4]

But it kinda depends what you are doing.

Mark

On Tue, Aug 18, 2009 at 1:51 PM, KNOTT, Brian 
<[email protected]<mailto:[email protected]>> wrote:
Guys what's the easiest way to strip the names out of the following string.  I 
was thinking of just removing the names between the #'s and then working with 
the last #.

2879;#Brian Knott;#2549;#Mr Happy

Thanks

Brian Knott
Software Engineer (COGNOS Developer) | MIS Front End | Banking & Life MIS
ext 53954 Ph (07)3135 3954



  ________________________________
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its 
related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au<http://suncorp.com.au>.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.
If this e-mail constitutes a commercial message of a type that you no longer 
wish to receive please reply to this e-mail by typing Unsubscribe in the 
subject line.




--
E: [email protected]<mailto:[email protected]>
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com<http://www.compoundtheory.com>



--
E: [email protected]<mailto:[email protected]>
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com<http://www.compoundtheory.com>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to