Re: Help with Split function
Hi Gogi,
Im not all to familiar with that Split function, are there parameters you can add?
If not i suggest making your own functions that would save everything within the "quotes".
GL, Figa
This wont work?
Split(""a,d","b","c"" , """")
Re: Help with Split function
Hi Figa
I am kind of working on my own function, but was wondering whether there is an easy way already out there. No point in reinventing the wheel :-))
thanks
Re: Help with Split function
The proper way would be to use regex but I can't provide you with a suggestion as it's beyond me. In the spilt function you can use whole strings as a delimiter, not just single characters. So, use ","(in code """,""") as a delimiter instead of just the comma.
You will still have to take care of the quotations marks (remove them from the first and last splitted strings or add them to all the strings in between respectively). Or wait for a regex suggestion. :)
Re: Help with Split function
Hi Half
thanks for the reply. I have been experimenting along those lines.
cheers
tolga
Re: Help with Split function
Check out one of my codebank submissions in my sig, there is a CSV and TAB file parser that utilizes Regex. Feel free to use the code or just use it as a reference...