-1

I have string format, example "abc || def || igh". I want to cut into: abc, def,igh, but when i try use split getting the error "Too many characters in character literal error" Can somebody help me? Thanks All.

0

1 Answer 1

0

You can use char array.Example:

char[] delimiterChars = { ' ', ',', '.', '?', ':' };

after

text.Split(delimiterChars)
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.