commandlineparser / commandlineparser/commandline
How to convert string to string[]
Đang mở
- Ngôn ngữ chính
- C#
- Star
- 4.8k
- Fork
- 478
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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[]?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.