In java,
String.split("");
is possible. ex)
String[] str = "Hello world!".split("")
Like this, I want to split String without escape sequence. But in C#, I tried it and IDE said 'Error'. Is there any solution?
edit)
Code:
String[] str = "Hello world!".split("");
the result is str[0] = H
, str[1] = e
, ...(in java)
In C#, I tried
strI[i] = "Hello World!".Split('');
And the result is
'error CS1011: Empty character literal I want to split string with Empty literal.