How would I change a character, like a the letter L to D in a string form a textbox or variable?

I want to change some of the letters in a text box to a different letter.  Like change “L” in Luck to “D” so it says Duck.

Thanks for the help.
bmanmike39Asked:
Who is Participating?
 
Paulmc999Commented:
but here is reference to all string functions maybe you find something useful here

http://msdn.microsoft.com/en-us/library/7wtc81z6.aspx
0
 
Paulmc999Commented:
http://msdn.microsoft.com/en-us/library/czx8s9ts.aspx

this will change all occurences of a particular character, is that what you want, otherwise please specify how you will know which character to change
0
 
käµfm³d 👽Commented:
Client-side or server-side?
0
 
bmanmike39Author Commented:
Thank
0
 
Paulmc999Commented:
c# so server side, do you need it client side? then you need javascript string utilities

here is the replace method

http://www.bennadel.com/blog/142-Ask-Ben-Javascript-String-Replace-Method.htm
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.