StringParser.getBetween() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
token_start? |
{string} |
Yes |
token_end? |
{string} |
Yes |
token_ignore? |
Yes |
|
include_tokens? |
{bool} |
Yes |
{string|string[]}
Return a part of the string between two specified substrings or the start or the end of the string, excluding parts containing the specified ignored substring. If the result contains more than one of parts, they will be returned in an array. An empty string will be returned if it contains no parts. Used start and end of parts can be specified to be added back to them.