Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个像function arg1 arg2 "arg3 is long".
function arg1 arg2 "arg3 is long"
我怎样才能获得的输出
String[0] = "function" String[1] = "arg1" String[2] = "arg2" String[3] = "arg is long"
这个问题的答案有许多选项供您探索,但它们是为真正的命令行参数量身定制的。