sql_left: Use SQL LEFT type function

View source: R/utils-sql-string-split.R

sql_leftR Documentation

Use SQL LEFT type function

Description

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.

Author(s)

Steven P. Sanderson II, MPH

See Also

Other Utilities: opt_bin(), save_to_excel(), sql_mid(), sql_right()

Examples


sql_left("text", 3)


healthyR documentation built on July 3, 2024, 5:08 p.m.