七零部落格
思则大道至简,疑则谜团重重!
思则大道至简,疑则谜团重重!
但是要注意的是,如果使用"."、"|"、"^"等字符做分隔符时,要写成s3.split("//^")的格式,
否则不能拆分。
参见http://www.rgagnon.com/javadetails/java-0438.html
中
split() is based on regex expression, a special attention is needed with some characters which have a special meaning in a regex expression.
For example :