CitizenX
asked on
replace in strings
how can i replace a certain char or space in a string ?
stringname.replace('e','a' ) replaces e's with a's right ? and how about space ? like cutting out all spaces from a string to make "my name is citizenx" to "mynameiscitizenx" ?
thanks for any help
Greets CitizenX
stringname.replace('e','a'
thanks for any help
Greets CitizenX
try stringname.replace(' ','');
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you rock my friend, i've been asking lots of people and you were the only one with this idea