strncmp {rindex} | R Documentation |
Functiions to compare two vectors of strings like the standard C functions do.
strcmp(a, b) strncmp(a, b, n)
a |
character vector |
b |
character vector |
n |
number of characters to compare |
1 if a>b, -1 if a<b, 0 if a==b.
Jens Oehlschlägel