Learn R Programming

do (version 2.0.0.1)

right_equal: Compare two characters from right Much useful for arguments input. Case is ignored.

Description

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

Usage

right_equal(x1, x2)

Value

logical

Arguments

x1

one character

x2

the other character

Examples

Run this code
right_equal('k','OK')
right_equal('ok','k')
right_equal('ok','Ok')

Run the code above in your browser using DataLab