https://github.com/thwillert/_splitargs
AutoIt Funktion die einen String, wie die Argumente eines Funktionsaufrufs, zerlegt
https://github.com/thwillert/_splitargs
autoit
Last synced: 5 months ago
JSON representation
AutoIt Funktion die einen String, wie die Argumente eines Funktionsaufrufs, zerlegt
- Host: GitHub
- URL: https://github.com/thwillert/_splitargs
- Owner: THWillert
- License: mit
- Created: 2020-02-07T18:15:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-18T13:28:33.000Z (over 5 years ago)
- Last Synced: 2025-06-03T23:58:07.292Z (about 1 year ago)
- Topics: autoit
- Language: AutoIt
- Size: 30.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# \_SplitArgs
AutoIt Funktion die einen String, wie die Argumente eines Funktionsaufrufs, in ein Array zerlegt
## Funktionsaufruf und Beispiel
```autoit
#Region Includes
#include
#EndRegion Includes
Main()
Func Main()
Local $s = 'true,"test" , $test[2][3], $test[4], @AppDataDir, 2,23.343, " ", "$test'' ,2" , _Function("test", ''test2'', StringStripWS($b,3)), "test3", false , '' " Test", ,, ,, 4 '',""'
Local $a = __SplitArgs($s)
_ArrayDisplay($a)
EndFunc
```
Ergebnis:

## Voraussetzungen
AutoIt
## Installation
Als Funktion in das eigene Programm kopieren, oder als UDF in das Include Verzeichnis von AutoIt kopieren.
## Diskusion und Vorschläge
...
## ToDo
...
## Authors
Thorsten Willert
[Homepage](https://www.thorsten-willert.de/software/autoit/autoit-funktionen/_splitargs)
## Lizenz
Das Ganze steht unter der [MIT](https://github.com/THWillert/HomeMatic_CSS/blob/master/LICENSE) Lizenz
.