13.06.2010, 08:27
Hey Guys again
I have problem. I want make function which would change text in string.
eg. I have text "lol lol lol lol lol lol lol lol lol lol lol lol lol" in string. Now i want detect every fifth space and replace it on "cos".
eg. "lol lol lol lol lolcoslol lol lol lol lolcoslol". My friend from polish helped me a little bit, but it is not yet.
How do it?
I have problem. I want make function which would change text in string.
eg. I have text "lol lol lol lol lol lol lol lol lol lol lol lol lol" in string. Now i want detect every fifth space and replace it on "cos".
eg. "lol lol lol lol lolcoslol lol lol lol lolcoslol". My friend from polish helped me a little bit, but it is not yet.
How do it?