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

From blackwiki
Jump to navigation Jump to search
blackwiki>Sardanaphalus
(→‎See also: parameter)
blackwiki>DePiep
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
 
  
 
Returns the [[ASCII]] value of a single character.
 
Returns the [[ASCII]] value of a single character.
Line 15: Line 14:
 
== See also ==
 
== See also ==
 
{{String-handling templates |anlys/tech}}
 
{{String-handling templates |anlys/tech}}
 +
<includeonly>{{sandbox other||
  
<includeonly>
 
<!-- Categories below this line, please: -->
 
 
[[Category:String manipulation templates]]
 
[[Category:String manipulation templates]]
</includeonly>
+
}}</includeonly>

Revision as of 18:44, 27 January 2019

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