H
H
Hirty2016-05-24 13:16:04
WPF
Hirty, 2016-05-24 13:16:04

Number of characters per line?

You need to delete 1 line, but as I did not find information on how to do it, I just came up with this

String s = textBox2.Text;
                {
                String[] words = s.Split(new char[] { ':', '\r' });
                userEmail = words[0];
                Passord = words[1];
                int f = s.Length;
                String kj = s.Remove(0,(f));
                textBox2.Text = kj;

But the problem is that it counts everything, how to do so it would only count 1 line, not all

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Fedoryan, 2016-05-24
@AnnTHony

It's all

int f = s.Length;
String kj = s.Remove(0,(f));
textBox2.Text = kj;

can be replaced by
Meaningful. The question is incomprehensible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question