finding whether given string is combination of two given strings or not