Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I entered some tags in my RichTextBox Text(i.e. Date,Name etc) and want to replace those tags with their values at printing

please give the solution for this.

Thanks
Posted

What is this so hard?? String.Replace()[^]
 
Share this answer
 
Comments
Thomas Daniels 15-Jan-13 13:41pm    
+5!
In addition to Solution 1, it's also possible to use Regex.Replace()[^], if you need to work with regular expressions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900