word.ref: Find the nth word in a string.

Description Usage Arguments Value

Description

Find the nth word in a string.

Usage

1
word.ref(string, n)

Arguments

string

the string to search in

n

the nth word to find

Value

A list containing:

start

the first letter of the word.

end

the last letter of the word.

Undefined if no such word; though end may be less than start in such a case.


roxygen documentation built on May 2, 2019, 4:44 p.m.