built in function to combine overlapping string sequences in php?

Posted by Jamex on Stack Overflow See other posts from Stack Overflow or by Jamex
Published on 2010-05-31T18:58:51Z Indexed on 2010/05/31 19:03 UTC
Read the original article Hit count: 203

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about php

Related posts about merge