I want to split a long string received from a server to a few substrings. The separate characters are different.
Are there any sample code for method: componentsSeparatedByCharactersInSet? Or may I ask a simple code to split "A~B^C" to "A", "B" and "C"?