Common Prefix & Suffix

Find the shared prefix and suffix of two strings.

Input
Output

Tool Options