Skip to contents

Perform an SQL LEFT() type function on a piece of text

Usage

sql_left(.text, .num_char)

Arguments

.text

A piece of text/string to be manipulated

.num_char

How many characters do you want to grab

Details

  • You must supply data that you want to manipulate.

Examples


sql_left("text", 3)
#> [1] "tex"