Difference between revisions of "LlUnescapeURL"

From Second Life Wiki
Jump to navigation Jump to search
(Added Example)
(Added <lsl>)
Line 9: Line 9:
|constants
|constants
|examples=
|examples=
<lsl>
default {
default {
     state_entry() {
     state_entry() {
Line 16: Line 17:
     }
     }
}
}
</lsl>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llEscapeURL]]| Opposite of llUnescapeURL}}
|also_functions={{LSL DefineRow||[[llEscapeURL]]| Opposite of llUnescapeURL}}

Revision as of 11:17, 13 February 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

<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 );