left | R Documentation |
Inspired by PosgreSQL https://www.postgresql.org/docs/current/functions-string.html.
left(string, n)
string |
String of vector of strings. |
n |
Number of characters to be trimmed |
Andreas Scharmueller, andschar@proton.me
v = c('1234567', 'abcdefg')
left(v, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.