ascii {SparkR} | R Documentation |
Computes the numeric value of the first character of the string column, and returns the result as a int column.
ascii(x) ## S4 method for signature 'Column' ascii(x)
x |
Column to compute on. |
ascii since 1.5.0
Other string_funcs: base64
,
concat_ws
, concat
,
decode
, encode
,
format_number
, format_string
,
initcap
, instr
,
length
, levenshtein
,
locate
, lower
,
lpad
, ltrim
,
regexp_extract
,
regexp_replace
, reverse
,
rpad
, rtrim
,
soundex
, substring_index
,
translate
, trim
,
unbase64
, upper
## Not run: \dontrun{ascii(df$c)}