Learn R Programming

HelpersMG (version 5.1)

asc: 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

Value

A vector with ITF-8 codes of a string

Details

asc returns the codes (in UTF-8) of a string

See Also

Other Characters: chr(), d(), tnirp()

Examples

Run this code
# NOT RUN {
asc("abcd")
asc("ABCD")
# }

Run the code above in your browser using DataLab