title: Compare two strings and extract common word out
body: <p>In MATLAB how can we compare 2 strings and print the common word out. For Example string1 = "hello my name is bob"; and string2 = "today bob went to the park";  the word bob is common in both. What is the structure to follow. </p>