commandlineparser / commandlineparser/commandline
How to convert string to string[]
Offen
- Vorherrschende Sprache
- C#
- Sterne
- 4.8k
- Forks
- 478
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I have this string:
--text "Hello World" --desc "Prints hello world to the screen"
Using string.split(' '); splits it on every space including inside the quotes
Is there any function to split this string with respect to the quotes so I can parse it as a string[]?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.