selectBetween
Select text between the start and end of of a given set of characters.
Arguments
str
: text that starts and ends with this string will be selected. You can only specify this ifbetween
isn't specifiedbetween
: an object withfrom
andto
fields; text that starts withfrom
and ends withto
will be selected. You can only specify this ifstr
isn't specified.inclusive
: whether to include the characters that start and end the selection (e.g.str
orbetween
)