C String manipulation

前端 未结 0 1172
迷失自我
迷失自我 2020-12-06 07:36

I have a simple question. I have a string "ls -l -a" how would I extract the letters before the first space? "ls" or another example "date -u"

相关标签:
回答
  • 消灭零回复
提交回复
热议问题