Ram Prashanth
New Member
When I am using replace function it is replacing all the occurrences in the string, I just want the character to be replaced if entire character is found in the string.
ctest = "demo,demo1,system,test"
replace(ctest,"demo","admin").
This gives ctest="admin,admin1,system,test".
I wanted ctest = "admin,demo1,sytem,test".
Is there any way i could achieve this.
ctest = "demo,demo1,system,test"
replace(ctest,"demo","admin").
This gives ctest="admin,admin1,system,test".
I wanted ctest = "admin,demo1,sytem,test".
Is there any way i could achieve this.