positionSpaceOutsideSinglequotes {tidyrules}R Documentation

Position of space outside single quotes

Description

(vectorised) Detect the position of space in a string not within a pair of single quotes

Usage

positionSpaceOutsideSinglequotes(string)

Arguments

string

A chracter vector

Value

A integer vector of positions

Examples


tidyrules:::positionSpaceOutsideSinglequotes(c("hello", "hel' 'o "))



[Package tidyrules version 0.1.5 Index]