I'm making a credit card processing form. The field in question is Name: (first and last).
What would some C# code look like that would take the text from a text box and split it, then assign each word (in this case first and last name) into two new strings?
E.g. txtName.Text = "John Doe"
After split
string fName = "John";
string LName = "Doe";
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…