R/styleParsing.R
getNextPosition.Rd
getNextPosition
is a utility function that helps when parsing strings
that contain delimiters.
getNextPosition(positions, afterPosition)
positions | An ordered numeric vector. |
---|---|
afterPosition | The value to start searching after. |
The first value in the array larger than afterPosition.