llUnescapeURL

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

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

Search JIRA for related Issues

Signature

function string llUnescapeURL( string url );