Miss a foundCount[out] parameter on Replace-/RemoveString

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Miss a foundCount[out] parameter on Replace-/RemoveString

Post by IceSoft »

Miss a foundCount[out] parameter on Replace-/RemoveString:

An information how often a search string was replaced or removed can be very usefull.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Miss a foundCount[out] parameter on Replace-/RemoveStrin

Post by Demivec »

IceSoft wrote:Miss a foundCount[out] parameter on Replace-/RemoveString:

An information how often a search string was replaced or removed can be very usefull.
Wouldn't using CountString() first tell you how often a search string would be replaced or removed?
Post Reply