Pretty smart and super fast, only works with an even number of strings though. Off the top of my head I'd say for an uneven number just duplicate one of the strings.
Gotta go and pick up my son from kindergarten, otherwise there'd be code to support my claim :)
In reply to Re^2: Find the common beginning substring in an array of strings
by mbethke
in thread Find the common beginning substring in an array of strings
by technojosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |