Learn R Programming

do (version 1.9.0.0)

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)

Arguments

x1

one character

x2

the other character

Value

logical

Examples

Run this code
# NOT RUN {
right_equal('k','OK')
right_equal('ok','k')
right_equal('ok','Ok')
# }

Run the code above in your browser using DataLab