I'm trying to make a function as this:
- input: some strings (example: "thisis_a_string123", "thisis_a_nother_string123", "thisis_not_a_string123")
- ouput: a longest substring counted from the 1st character (example: "thisis_"), if not found, return an empty string: "".
Since the output is only: "thisis_", not a Longest Common Subsequence like this: "thisis_a_string123", so it is different with: https://rosettacode.org/wiki/Longest_common_subsequence
and this: Getting the longest common subsequence in ERLANG
any help will be appreciated, thank you !!