sql_left: Use SQL LEFT type function in R

Description Usage Arguments Details Value Author(s) Examples

View source: R/sql_string_split.R

Description

Perform a SQL LEFT() on a piece of data

Usage

1
sql_left(text, num_char)

Arguments

text

A piece of text or data you want to take a left part of

num_char

How many characters of the text you want to take

Details

Value

A left sided substring of data

Author(s)

Steven P Sanderson II, MPH

Examples

1
sql_left("This is some text", 4)

spsanderson/LICHospitalR documentation built on Jan. 6, 2022, 12:32 a.m.