Java – array index exceeds binding error when splitting string
•
Java
Someone can help me find the following code problem: it always gives me one:
code
Solution
. Is a special character in a regular expression So when using the split () method, you need to escape it
use,
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码