Parsing and Mutating Strings
Installation
SKILL.md
Parsing and Mutating Strings
Instructions
-
Identify which of the two best describe your needs:
Simple- finding a sub-string inside a string variable
- stripping or retaining content UNTIL a certain delimiter is found
- ensuring that the string starts or ends with a certain sub-string
Structured- you need to parse a string for language features
- different parts of the string will have different parsing rules based on the characters which preceded it.
-
If your need fits the
Simpledescription then ...You will likely want to use one of the following type or runtime utilities found in this repo. Every utility's source will have a description above the symbol and many also may include a simple example.
Type Utilities