asc {HelpersMG} | R Documentation |
Return the codes (in UTF-8) of a string
Description
Return the codes (in UTF-8) of a string.
Usage
asc(x)
Arguments
x |
The string to be analyzed |
Details
asc returns the codes (in UTF-8) of a string
Value
A vector with ITF-8 codes of a string
Author(s)
Based on this blog: http://datadebrief.blogspot.com/2011/03/ascii-code-table-in-r.html
See Also
Other Characters:
char()
,
d()
,
tnirp()
Examples
asc("abcd")
asc("ABCD")
[Package HelpersMG version 6.1 Index]