in reply to Re: string manipulation
in thread string manipulation

Take a look at pack it has a count pattern feature. (already discussed here, see archives)

Though not sure if it meets your requirements.

If it does it will for sure be the fastest approach.

Cheers Rolf

( addicted to the Perl Programming Language)