|
Led Writer
Registered User
Join date: 12 Apr 2007
Posts: 14
|
05-08-2008 12:36
I need to remove quotes "" from a string. Is there a way to do that? e.g. I got the following string, a listener receives from mainchat:
Hi, "how are you"?
Now, I want to remove quotes from this string and turn it into: Hi, how are you?
I tried llParseString2List([],[]); but that doesnt work.
Any help is appreciated.
Thanks.
|
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
05-08-2008 13:22
In general you can use the backslash to escape characters like that, so try searching for \". Since you need to enclose that within quotes to make it a string, that becomes "\"". At least that's how it works in most other programming languages. I'll admit I've never tried this in LSL 
|
|
Led Writer
Registered User
Join date: 12 Apr 2007
Posts: 14
|
05-08-2008 13:29
THANKS!!! You little genius, you made my day  ))
|