I'm not sure just who you're replying to, but in general ...
... how "tr" counts the remaining slashes ...
Please see discussion of tr/// operator in Quote-Like Operators section of perlop. In particular, please see examples 2-4 in Examples sub-section.
... how the printf is being used.
Please see printf; see sprintf for discussion of format specifiers.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Most efficient way to remove some text from a string
by AnomalousMonk
in thread Most efficient way to remove some text from a string
by adamZ88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |