Thanks guy. Ending up using listtoarray
Brian Knott
ext 53954 Ph (07)3135 3954
From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of
Mark Mandel
Sent: Tuesday, 18 August 2009 2:09 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Stripping out characters
oh
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 wrote:
> Is this the only string, or is there more?
>
> Does the position of 'Brian Knott' change, or is it always after the f
Two string.
Brian Knott
Mr Happy
Brian Knott
ext 53954 Ph (07)3135 3954
From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of
Dale Fraser
Sent: Tuesday, 18 August 2009 2:02 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Stripping out characters
So what do
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
O
So what do you want
"Brian Knott Mr Happy"
As a string, or as two strings?
Regards
Dale Fraser
http://dale.fraser.id.au
http://learncf.com
http://flexcf.com
From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
Of KNOTT, Brian
Sent: Tuesday, 18 August 2