in reply to Re^2: Golf for unique digits (17)
in thread Golf for unique digits
tye++ ... but I'm stuck to understand how it works?
According to perlop:
Searches a string for a pattern, and if found, replaces that pattern with the replacement text and returns the number of substitutions made.
How does the number of substitutions made equate to the number of characters left after the substitutions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Golf for unique digits (17)
by LanX (Saint) on Jan 09, 2013 at 19:05 UTC | |
by BrowserUk (Patriarch) on Jan 09, 2013 at 19:10 UTC |