Well first of all what character is that?
finito
Nearly a Posting Virtuoso
1,321 posts since May 2010
Reputation Points: 60
Solved Threads: 135
hmm try
char c = Convert.ToChar("•");
RTB.Text += c;
finito
Nearly a Posting Virtuoso
1,321 posts since May 2010
Reputation Points: 60
Solved Threads: 135
I could solve this for you but this is where programming comes into play.
This is where your logic comes into play.
Show me your thought process. give me your psuedo code.
finito
Nearly a Posting Virtuoso
1,321 posts since May 2010
Reputation Points: 60
Solved Threads: 135
hmm, Indexof(), Replace, and Substring() are your friend.
finito
Nearly a Posting Virtuoso
1,321 posts since May 2010
Reputation Points: 60
Solved Threads: 135
Well,
int Marker = yourstring.IndexOf('<');
char c = Convert.ToChar("•");
if (Marker != -1)
yourstring = yourstring.Substring(0, Marker-1) + c + yourstring.SubString(Marker+1, yourstring.Length-Marker);
Not sure about the -1 or +1 test it out.
finito
Nearly a Posting Virtuoso
1,321 posts since May 2010
Reputation Points: 60
Solved Threads: 135
Comon I gave you the clues.
Not sure about the -1 or +1 test it out.
Here
label1.Text = label1.Text.Substring(0, Marker ) + c + label1.Text.Substring(Marker+1, label1.Text.Length - Marker-1);
finito
Nearly a Posting Virtuoso
1,321 posts since May 2010
Reputation Points: 60
Solved Threads: 135