AutoPatrol, Bureaucrats, Administrators
481
edits
Tomas Kirnak (talk | contribs) (Created page with "Convert characters into their ASCII or Unicode values") |
m (Text replacement - "^" to "{{deprecated}}") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Convert | {{deprecated}}__NOTOC__ | ||
Convert a character into it's ASCII/Unicode value. | |||
Only processes one character. | |||
== Syntax == | |||
ord(''character''); | |||
== Parameters == | |||
{| class="wikitable" | |||
|- | |||
| ''character'' || A character to convert. | |||
|} | |||
== Return Value == | |||
An ASCII/Unicode value | |||
== Examples == | |||
ord("a") -> 97 | |||
ord("abc") -> 97 |