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

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.


What is this so hard?? String.Replace()[^]
Share this answer
Thomas Daniels 15-Jan-13 13:41pm    
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