|
-
Oct 23rd, 2012, 02:45 PM
#1
Thread Starter
New Member
Removing first occurrence of string within a string?
Hi everyone
I'm wondering how i could remove the first occurrence of a set of characters from a string, and then looping until there are no characters left in the string.
For example:
I want to remove the first "wer" from "qwertyqwertyqwerty", so that the string then reads "qtyqwertyqwerty".
Any ideas on how to do that?
EDIT: Clarified example.
Last edited by h33t; Oct 23rd, 2012 at 03:35 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|