History of 2023-07-08 Finding a common prefix of a set of strings

2023-07-08
13:20 UTC Revision 1 . . . . mborkSome time ago I needed a very specific thing. Given two strings, I wanted to find their longest common (initial) substring. For example, given abc and abd, I wanted ab. I thought that Emacs Lisp must have something like this already, and I wasn’t wrong. It turns out there are even two functions which can do that!