Difference between revisions of "LlUnescapeURL"

From Second Life Wiki
Jump to navigation Jump to search
(Added <lsl>)
m
Line 9: Line 9:
|constants
|constants
|examples=
|examples=
Raw UTF-8 strings can be returned.
<lsl>
<lsl>
default {
default {

Revision as of 21:50, 7 July 2008

Summary

Function: string llUnescapeURL( string url );
0.0 Forced Delay
10.0 Energy

Returns a string that is an unescaped/unencoded version of url, replacing %20 with spaces etc.

• string url

Examples

Raw UTF-8 strings can be returned.


<lsl> default {

    state_entry() {
         string str = "Any string, with anything in it, goes here!";
         llOwnerSay(llUnescapeURL(llEscapeURL(str)));
              //Tells the owner the string "str", because the Unescape and Escape are opposites of eachother.
    }

}

</lsl>

See Also

Functions

•  llEscapeURL Opposite of llUnescapeURL

Articles

•  UTF-8
•  Base64

Deep Notes

Signature

function string llUnescapeURL( string url );