Inserting a character into a string.
#1

I've been trying a lot of methods and some fail and some work a little.. Hmm..

Suppose I have a string "trololo1o1o1olo1"

Now How can I replace all the "1"s here with "_1" so it looks like: "trololo_1o_1o_1olo_1"?

I used loops,strfind,strins.. they all failed cuz I'm messing up somewhere..

Any Help Please ?
Reply


Messages In This Thread
Inserting a character into a string. - by iPLEOMAX - 24.08.2011, 10:21
Re: Inserting a character into a string. - by Wesley221 - 24.08.2011, 10:30
Re: Inserting a character into a string. - by =WoR=Varth - 24.08.2011, 10:35

Forum Jump:


Users browsing this thread: 1 Guest(s)