Answer the question
In order to leave comments, you need to log in
Textbox delete line and split into 2 parts?
The text of the form
Hello1:Hello2
Hell3:Hello4
Hell5:Hello6 is loaded into the Textbox
It needs to be divided into 2 parts.
string A = Hello1
string B = Hello2
Delete 1 line after loading.
How to do this?
Answer the question
In order to leave comments, you need to log in
var strs[] = TextBox.Text.Split(':');
strs array of strings
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question