bugfix, inBrackets actually works
This commit is contained in:
@@ -20,7 +20,7 @@ Finds $len characters of $str, starting at $idx (no prerequisites).
|
||||
|
||||
### fun -string !inBrackets -string &str -char &left -char &right -int &instance
|
||||
|
||||
Finds the content of the `$instance`th instance of brackets, with the left bracket being the $left char and the right bracket of $right char (requires !findCharInstance).
|
||||
Finds the content of the `$instance`th instance of brackets, with the left bracket being the $left char and the right bracket of $right char (requires !findCharInstance and !mid).
|
||||
|
||||
### fun -bool !matchStart -string &str -string &instr
|
||||
|
||||
@@ -40,4 +40,8 @@ You'll never guess what this does (it removes the last $num characters from a st
|
||||
|
||||
### fun -bool !contains -string &str -string &instr
|
||||
|
||||
Checks if $str contains $instr (requires !mid).
|
||||
Checks if $str contains $instr (requires !mid).
|
||||
|
||||
### fun -list !split -string &str -string &splitstr
|
||||
|
||||
Returns a list of $str split apart depending on $splitstr, e.g. `split("a->b->c", "->")` returns `[a, b, c]` (requires !contains, !findStringInstance, !mid, !removeLeft).
|
Reference in New Issue
Block a user