Difference between revisions of "LlUnescapeURL"

From Second Life Wiki
Jump to navigation Jump to search
(Added Example)
Line 8: Line 8:
|caveats=
|caveats=
|constants
|constants
|examples
|examples=
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.
    }
}
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llEscapeURL]]| Opposite of llUnescapeURL}}
|also_functions={{LSL DefineRow||[[llEscapeURL]]| Opposite of llUnescapeURL}}

Revision as of 12:16, 13 February 2008

Summary

Function: string llUnescapeURL( string url );

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

• string url

Examples

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.
    }
}

See Also

Functions

•  llEscapeURL Opposite of llUnescapeURL

Articles

•  UTF-8
•  Base64

Deep Notes

Search JIRA for related Issues

Signature

function string llUnescapeURL( string url );