strncmp: String comparison <e1> la C

Description Usage Arguments Value Author(s) See Also

View source: R/zzz.R

Description

Functiions to compare two vectors of strings like the standard C functions do.

Usage

1
2
strcmp(a, b)
strncmp(a, b, n)

Arguments

a

character vector

b

character vector

n

number of characters to compare

Value

1 if a>b, -1 if a<b, 0 if a==b.

Author(s)

Jens Oehlschl<e4>gel

See Also

substr, Comparison


rindex documentation built on Sept. 1, 2018, 1:04 a.m.

Related to strncmp in rindex...