|
Jacqueline Trudeau
Nogoodnik
Join date: 9 Jul 2005
Posts: 171
|
01-20-2007 08:19
hmm.... if my string within a list contains an escape character, it is not extracted correctly by llList2String.
for instance, if llList2String(foo, 0) returns "line1\nline2", when i try to use that string, it ignores the newline and displays:
line1\nline2
instead of :
line1 line2
is this a bug (new or known), expected behaviour, or ????
_____________________
http://trudeauyachts.wordpress.com
|
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
01-20-2007 08:50
Not pretty but I believe this will work: llDumpList2String(llParseStringKeepNulls(llList2String(foo, 0), ["\\n"], []), "\n"  ; Least ways I have some code that uses this and it seems to work. 
|
|
Jacqueline Trudeau
Nogoodnik
Join date: 9 Jul 2005
Posts: 171
|
01-20-2007 11:36
Thanks Pale - I'll give that a try 
_____________________
http://trudeauyachts.wordpress.com
|