Learn R Programming

easyr (version 0.5-11)

left: left

Description

Behaves like Excel's LEFT, RIGHT, and MID functions Author: Dave. Tech review: Bryce Chamberlain.

Usage

left(string, char)

Arguments

string

String to process.

char

Number of characters.

Examples

Run this code
left( "leftmidright", 4 )

Run the code above in your browser using DataLab