View source: R/flextable-convertSummaryStatisticsTableToFlextable.R
getPatternPosition | R Documentation |
Get position(s) (start, end) of a pattern in a string.
getPatternPosition(x, startPattern, endPattern = "\\}", format)
x |
String. |
startPattern |
String with start pattern. |
endPattern |
String with end pattern. |
format |
String with type of formatting |
Matrix with columns: 'start' and 'end' with
start and end position(x) of the pattern, 'format' with
the format
and 'pattern' with the regex pattern for the full match.
NULL if no match.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.