mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2025-12-16 09:32:10 +01:00
482 B
482 B
Very simple function to remove rich text formatting from field label and save the first paragraph ('<p>...</p>').
Very simple function to remove rich text formatting from field label and save the first paragraph ('<p>...</p>').
Usage
clean_field_label(data)
Arguments
-
data:
field label
Value
character vector
Examples
clean_field_label("<div class=\"rich-text-field-label\"><p>Fazekas score</p></div>")
#> [1] "Fazekas score"