changing parts of a textbox

frix199

Member
Joined
Jul 18, 2005
Messages
19
Programming Experience
1-3
hello there

i have a textbox,
and i want when a button is pressed
all the letters "a" of the textbox to become "g"

i know i'm confusing :D
thankz 4 ur time
 
For this you have to use the replace vbscript function

e.g. your value of textbox1.text is saved in variable txtName.

command will run as follows:

newName=replace(txtName,"a","g")
 
Back
Top