String str = "u0054u0068u0069u006eu006bu0050u0061u0064"; String[] strArray = str.split("");
but this error occured.
Exception in thread "main" java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
it should be
String[] strArray = str.split("");
the reason why is because in Regex, has special meaning so you need to escape it into \.
Regex
\
and in java, \ should be equal to ""
""
1.4m articles
1.4m replys
5 comments
57.0k users