Is there a function that will compare two strings and return the longest string that's in both of them. example :
/set %str01 anything
/set %str02 everything
/echo -a The longest string in both %str01 and %str01 is $function(%str01,%str02)
;Returns: The longest string in anything and everything is ything
Note: Maybe I can script that function, but it will not be the fastest and the shortes, that's for sure.