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

From blackwiki
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}}
<!-- 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.
 +
 
== Usage ==
 
== Usage ==
 
<nowiki>{{ASCII code|</nowiki>''char''<nowiki>}}</nowiki>
 
<nowiki>{{ASCII code|</nowiki>''char''<nowiki>}}</nowiki>
Line 12: Line 13:
  
 
== See also ==
 
== See also ==
{{navbox string handling templates}}
+
{{String-handling templates |anlys/tech}}
<includeonly>
+
<includeonly>{{sandbox other||
<!-- Categories and interwikis go here: -->
+
 
 
[[Category:String manipulation templates]]
 
[[Category:String manipulation templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 13:29, 16 October 2020

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