split 转义

问题:str.split("?");报错了

原因:

.?*+!^$[]()在正则里需要转义 转义需双反斜线
.splt("\+");

原文地址:https://www.cnblogs.com/huhuuu/p/6116454.html