Phhh... I just need to work on documenting these things better: the Replace function features not just an offset parameter, but also a count parameter. Exactly as you describe above. The manual has the correct description, it's the readme that's confusing.

Ruud