Difference between revisions of "Template:ASCII code/doc"
Jump to navigation
Jump to search
blackwiki>DePiep (→See also: reflect move and transclude not link the navbox, replaced: {{String templates see also text}} → {{navbox string handling templates}} using AWB) |
m (7 revisions imported) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | ||
Returns the [[ASCII]] value of a single character. | Returns the [[ASCII]] value of a single character. | ||
| + | |||
== Usage == | == Usage == | ||
<nowiki>{{ASCII code|</nowiki>''char''<nowiki>}}</nowiki> | <nowiki>{{ASCII code|</nowiki>''char''<nowiki>}}</nowiki> | ||
| Line 12: | Line 13: | ||
== See also == | == See also == | ||
| − | {{ | + | {{String-handling templates |anlys/tech}} |
| − | <includeonly> | + | <includeonly>{{sandbox other|| |
| − | + | ||
[[Category:String manipulation templates]] | [[Category:String manipulation templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 13:29, 16 October 2020
| This is a documentation subpage for Template:ASCII code. It contains usage information, categories and other content that is not part of the original template page. |
Returns the ASCII value of a single character.
Usage
{{ASCII code|char}}
Examples:
- {{ASCII code|q}} returns 113
- {{ASCII code|Q}} returns 81
Note that only characters in the range 32-126 are supported. Non-standard characters will return 32 (space).