G
Guest
Hi,
I've just learned how to split a string (guess what, the Split function ,
but as a newbie I'm stucked on a different problem:
I'd only wanted the function to split the string at a specific position
(e.g. ";") when the surrounding string is NOT in quotation marks, like that:
abc;def -> split into 2 strings ('abc' and 'def')
"abc;def";ghi -> split into 2 strings ('abc;def' and 'ghi') as well
Can anyone give me a hint on how to do that?
Thanks for any help
Peter
I've just learned how to split a string (guess what, the Split function ,
but as a newbie I'm stucked on a different problem:
I'd only wanted the function to split the string at a specific position
(e.g. ";") when the surrounding string is NOT in quotation marks, like that:
abc;def -> split into 2 strings ('abc' and 'def')
"abc;def";ghi -> split into 2 strings ('abc;def' and 'ghi') as well
Can anyone give me a hint on how to do that?
Thanks for any help
Peter