On Thu, Sep 08, 2011 at 11:13:02AM +0200, Matthias Leopold wrote:
<snip> 
> actually, the code i'm trying to replace uses s///. i wanted to use 
> something similar to str_replace() in php which uses two arrays for 
> search and replace (in the php version of the very same task in my 
> project). but i admit that i'm not too familiar with tr/// and even 
> unicode (although living in "?sterreich"/Austria ;-))

You might look at:
substr EXPR,OFFSET,LENGTH,REPLACEMENT
as a replacement for str_replace().

HTH,
Mike
-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to