我想在空格上分割短语,而不是在带引号的字符串中分隔空格(即双引号对中的字符串").
例如:
software term "on the fly" and "synchrony"
Run Code Online (Sandbox Code Playgroud)
应分为以下5个部分:
software
term
on the fly
and
synchrony
Run Code Online (Sandbox Code Playgroud)
那我怎么能在java中实现呢?