kaancho12
Technical User
- Feb 22, 2005
- 191
hi,
i need to compare strings which are similar to this:
food>fruit>red>cherry
food>fruit>red>apple
is there a way to compare these strings and only copy the difference in the second one and add it to the first?
for example after comparing i need the string to be:
foor>fruit>red>cherry^apple
i am not sure what php function to use.
thanks
ko12
i need to compare strings which are similar to this:
food>fruit>red>cherry
food>fruit>red>apple
is there a way to compare these strings and only copy the difference in the second one and add it to the first?
for example after comparing i need the string to be:
foor>fruit>red>cherry^apple
i am not sure what php function to use.
thanks
ko12