in reply to extra spaces between the characters in string
Believe it or not, even in a problem that looks like it could have a solution using substr(), regular expressions are usually a superior solution. So much time has been poured into that code, both in terms of ability and of overall efficiency, that it wins race after race after race. (I know, it’s counter-intuitive. It had to be proven to me, too.)
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: extra spaces between the characters in string
by BrowserUk (Patriarch) on Jun 08, 2011 at 13:05 UTC | |
by SuicideJunkie (Vicar) on Jun 08, 2011 at 16:15 UTC |