As for a use case example:Python's docs wrote:If maxsplit is given, at most maxsplit splits are done (thus, the list will have at most maxsplit+1 elements). If maxsplit is not specified or -1, then there is no limit on the number of splits (all possible splits are made).
Code: Select all
Input =
(
This = ini
Foo = Bar = Baz
)
Out := []
for each, Line in StrSplit(Input, "`n", "`r")
{
Split := StrSplit(Line, "=",, 2)
Out[Trim(Split.1)] := Trim(Split.2)
}
Msgbox, % Out.Foo ; Should be "Bar = Baz"