Position of strings
position_of_string(tex_line_split, command_split, end = TRUE)positions_of_all_strings(tex_line, command_name, end = TRUE)
A split line (via strsplit(x, split = "")
).
The string the position of which is desired, split (via strsplit(x, split = "")
).
(logical) Should the position of the end of the string.
By default, TRUE
; otherwise, the start of the string is chosen.
A line of text.
The string the position of which is desired.
The end (or start if end = FALSE) of the location of command