Difference between revisions of "Template:ASCII code/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Voice of Clam
(Create doc)
 
blackwiki>Voice of Clam
(default)
Line 9: Line 9:
 
*<nowiki>{{ASCII code|</nowiki>Q<nowiki>}}</nowiki> returns {{ASCII code|Q}}
 
*<nowiki>{{ASCII code|</nowiki>Q<nowiki>}}</nowiki> returns {{ASCII code|Q}}
  
Note that only characters in the range 32-126 are supported.
+
Note that only characters in the range 32-126 are supported. Non-standard characters will return 32 (space).
  
 
== See also ==
 
== See also ==

Revision as of 07:57, 26 November 2011

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

See also

Template:String templates see also text