replace method
-
Hi all, i got problem in replacing text in richtextbox with new text. I using find and replace method,but it doesnt work.. The text will load in richtextbox when i run the system.Wht i need is just replace some text with new text in richtextbox.. Pls help me.. Thank You..
%#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG
-
Hi all, i got problem in replacing text in richtextbox with new text. I using find and replace method,but it doesnt work.. The text will load in richtextbox when i run the system.Wht i need is just replace some text with new text in richtextbox.. Pls help me.. Thank You..
%#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG
-
And what is not working? What do you use to find and then replace? Show some code.
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)the code i did is like this, richTextBox1.Find("XX"); richTextBox1.SelectedText = text.Replace("XX", text); The string "XX" is i load into richtextbox.Then i open external file to replace this "XX" with some text. The code i did is doesnt work.So got any other way to find solution for this case. Thank You.
%#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG
-
the code i did is like this, richTextBox1.Find("XX"); richTextBox1.SelectedText = text.Replace("XX", text); The string "XX" is i load into richtextbox.Then i open external file to replace this "XX" with some text. The code i did is doesnt work.So got any other way to find solution for this case. Thank You.
%#&kmpYrlHSGYG5@#($_+!@!(*JASnjshdk,cm_0ashjhdbn@#$!48mkhfbchsh))^%#W%&@YW7wsdfjw789';'][]\`~JKJQ4$!@#~)-HSKS^&*1)JK12@#@$~!1`DFGkqp][]\]?Zas;EWRG%!@~)(^&BVAG
kamalesh5743 wrote:
richTextBox1.Find("XX"); richTextBox1.SelectedText = text.Replace("XX", text);
Try:
richTextBox1.Find("XX");
richTextBox1.Text = richTextBox1.Text.Replace("XX", text);xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)