Difference between revisions of "Textutils.urlEncode"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
|||
| Line 25: | Line 25: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:API_Functions]] | ||
Revision as of 18:41, 28 November 2012
| Replaces certain characters in a string to make it safe for use on the internet. Note that it is a string function and will even replace characters that are allowed in URLs. Use this only for text to be inserted in an URL, not the URL itself. | |
| Syntax | textutils.urlEncode(string) |
| Returns | A string safe for use on the internet |
| Part of | ComputerCraft |
| API | textutils |
Examples