Posted by yawnmoth on 10/09/07 06:14
Say I had .a.b.c and wanted to return abc. Any ideas as to how I'd do this? Here's my attempt, but it doesn't work: <?php echo preg_replace('#(?:.(.))+#s', '$1', '.a.b.c'); ?> Any ideas?
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming