How can I split a string using [ as the delimiter?
[
String line = \"blah, blah [ tweet, tweet\";
if I do
line.
The [ character is interpreted as a special regex character, so you have to escape it:
line.split("\\[");