Helper Function for xpssCompute. R Implementation of the SPSS
atomic character or character vector.
atomic character to look for.
atomic numeric. Number of parts pattern to divide to.
computeChar_index(x="Hello user", pattern="user") Returns a number indicating the character position of the first occurrence of the first letter of 'user' in 'Hello user'. The optional third argument,
split, is a number, which must be a positive integer used to divide 'user' into separate strings. The
split value must be able to divide the
pattern string without remainder.
Numeric. Position of the first occurence of the
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.