length {SparkR}R Documentation

length

Description

Computes the length of a given string or binary column.

Usage

## S4 method for signature 'Column'
length(x)

See Also

Other string_funcs: ascii, base64, concat_ws, concat, decode, encode, format_number, format_string, initcap, instr, levenshtein, locate, lower, lpad, ltrim, regexp_extract, regexp_replace, reverse, rpad, rtrim, soundex, substring_index, translate, trim, unbase64, upper

Examples

## Not run: length(df$c)

[Package SparkR version 2.0.0 Index]