Socarsky
Well-known member
Below line taken from a text file:
stay cool#sakin ol, sakin kal#Don't be angry with me now just stay cool.#1#A
My form writes things in a row that contains 5 specific area that three of them related a language word first, contains a word second one is a meaning of that word and third one is a sentence of the word. So I only want to split two of them which separated "dash" into a DataGridView. I actually can make it by whole line in the text file but I only give a place for two of them, word and meaning. Can I restrict split function with a char for only two times?
stay cool#sakin ol, sakin kal#Don't be angry with me now just stay cool.#1#A
My form writes things in a row that contains 5 specific area that three of them related a language word first, contains a word second one is a meaning of that word and third one is a sentence of the word. So I only want to split two of them which separated "dash" into a DataGridView. I actually can make it by whole line in the text file but I only give a place for two of them, word and meaning. Can I restrict split function with a char for only two times?