built in function to combine overlapping string sequences in php?
- by Jamex
is there a built in function in php that would combine 2 strings into 1?
example: $string1 = abcde, $tring2 = cdefg
combine to get: abcdefg
if the exact overlapping sequence and the position are known, then it is possible to write a code to merge them.
TIA