find the common word among two given strings.