Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
07-24-2004 12:26
Hello everyone! Im working on a project that relies heavily on llParseString2List. I have a problem with it that I explain here. Im wondering what kind of workarounds people have used to get around that problem. ==Chris (Yes, I know duplicate posts are discouraged, but I felt that a post about this both needed to be here (for discussion) and in the Technical Issues forum so LL reads it.)
|
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
|
07-24-2004 13:42
I had a replace function in another thread, I guess it got deleted.
Anyways write a replace function and replace double instances of your seperator with two seperators with a space between em.
It would be a lot more efficient if you could build the extra spaces into whatever is generating these strings but thats not always possible.
_____________________
-- 010000010110110101100001001000000100111101101101011001010110011101100001 --
|
Grim Lupis
Dark Wolf
Join date: 11 Jul 2003
Posts: 762
|
07-24-2004 16:21
I posted a wrapper function around llParseString2List to fix this also, Ama. In the same thread as yours, I think.
They got deleted when the old script forum went under the knife.
**Edit: Yes, I'm still bitter about that. And I probably will be for another... 18 months or so, since that's how much knowledge was lost in that fiasco.
_____________________
Grim
"God only made a few perfect heads, the rest of them he put hair on." -- Unknown
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
07-25-2004 13:15
i've writen one too but i didn't post it at all. 
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|