pelfed
April 4, 2014, 6:33pm
1
Hi
First time on this forum, hope someone can help
My question is as follows:
I have n number of strings
AZABCDEF, AZA78, AZAA24P, DEF1.....
I need to find a way to compare n number of strings and extract the common string value from the start of the strings.
So, using the above strings my returned value must be AZA
Will the beginning of each string always have the same number of characters in common?
pelfed
April 4, 2014, 6:51pm
3
Not sure what you mean, sorry. Each string can be off different lengths.
In common… per your example, you wanted to get all strings that had “AZA” at the beginning in common… will it always be three characters? Or varying?