❔ Find common substring at start of every string in list
I have a list of Windows path strings and I want to determine the common beginning shared by all of them, if such a thing exists.
So, a list like:
would output the string
How to smoothly accomplish such a thing?
So, a list like:
would output the string
C:\User\.How to smoothly accomplish such a thing?