StringParser.getBetween() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
token_start?
Yes
token_end?
Yes
token_ignore?
Yes
include_tokens?
Yes

Returns

{string|string[]}

Description

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.

⚠️ **GitHub.com Fallback** ⚠️