| content_backward_search {languageserver} | R Documentation |
search backwards in a document content for a specific character
content_backward_search(content, row, column, char, skip_empty_line = TRUE)
content |
a character vector |
row |
an 0-indexed integer |
column |
an 0-indexed integer |
char |
a single character |
skip_empty_line |
a logical |
a tuple of positive integers, the row and column position of the character if found, otherwise (-1, -1)