To split a string by space, we can use the method by passing a regex as an first argument in Java. Here is an example. Output:
確定! 回上一頁