Learn R Programming

do (version 2.0.0.1)

left_equal: Compare two characters from left Much useful for arguments input. Case is ignored.

Description

Compare two characters from left Much useful for arguments input. Case is ignored.

Usage

left_equal(x1, x2)

Value

logical

Arguments

x1

one character

x2

the other character

Examples

Run this code
left_equal('o','OK')
left_equal('ok','O')
left_equal('ok','Ok')

Run the code above in your browser using DataLab