Deleting substrings
- From: "Ravi" <ravib.1981@xxxxxxxxx>
- Date: 28 Jun 2006 13:43:56 -0700
A function which takes a string and a substring as input and which
deletes the substring in the main string.
Eg: mainstr=abcxyghixy sub=xy
Result should be mainstr=abcghi.
Will it require recursion ?
How to handle the deletion part..I mean deleting a substring and then
starting all over again looking for the next substring.
.
- Follow-Ups:
- Re: Deleting substrings
- From: rossum
- Re: Deleting substrings
- From: goose
- Re: Deleting substrings
- From: Jon Harrop
- Re: Deleting substrings
- From: Richard Heathfield
- Re: Deleting substrings
- Prev by Date: Re: Use of semaphores
- Next by Date: ls lacking a feature?
- Previous by thread: Any online source management for personal projects ?
- Next by thread: Re: Deleting substrings
- Index(es):
Relevant Pages
|