I need to find which portion of a starting string is inside another larger string.
This is an example:
string_1 = "smuAlarmNotification"
string_2 = "smuAlarmType: Enumeration of integer in interval [0...7] with enumerators"
sub = find_substring(string_2, string_1)
ouput = "smuAlarm"
Do you have any idea?
Thanks, Davide