Dump the list to an array
This commit is contained in:
parent
ea230027a0
commit
725b809787
1 changed files with 7 additions and 0 deletions
|
@ -102,3 +102,10 @@ List_size(l) {
|
|||
StringSplit arr, l, `;
|
||||
Return (arr0 - 1)
|
||||
}
|
||||
|
||||
List_toArray(l, arrName) {
|
||||
Local trimmedList
|
||||
StringTrimRight, trimmedList, l, 1
|
||||
StringSplit %arrName%, trimmedList, `;
|
||||
Return (%arrName%0)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue