I have two strings:
var_1 = 'ebro EBI 310 TE Temperature data logger'
var_2 = 'EBRO EBI 310 TE USB-LOGGER'
How can I (without regex and long loops) create a third variable that contains the matching characters from both the first and second variables? For example, the output would be;
var_3 = 'EBRO EBI 310 TE'
Can I compare four or more variables in the same way and find the part of the string that occurs in all variables and where it does not occur?