current position:Home>Pit of string split() in Java

Pit of string split() in Java

2022-01-26 23:16:02 Nuts_

Just put a few strings together and save them in a file , Line breaks used at the beginning , After reading, it is found that the new line is not displayed , It can't be divided , Report errors . Then I just found a character “”, Still wrong , I found it after checking ,“” Belongs to regular expression syntax , Just change a character ..

copyright notice
author[Nuts_],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201262315596344.html

Random recommended