Character String Operations and Interpolation, Magic Edition
Display messages using interpolated strings
Lists the expressions used for interpolation in a string_magic
call
stringmagic
's regular expression parser
Paste a string vector conditionally
Cleans a character vector from multiple patterns
Extracts a pattern from a character vector
Fills a character string up to a size
Gets elements of a character vector
Detects whether a pattern is in a character string
Create string_magic
aliases with custom defaults
Register custom operations to apply them in string_magic
String interpolation with operation chaining
Chains basic operations to character vectors
Splits a character string wrt a pattern
Splits a character vector into a data frame
Efficient creation of string vectors with optional interpolation
String operations and interpolation: magic edition
Sets up a timer that can be used within _magic
functions
Performs complex string operations compactly and efficiently. Supports string interpolation jointly with over 50 string operations. Also enhances regular string functions (like grep() and co). See an introduction at <https://lrberge.github.io/stringmagic/>.
Useful links