Thursday, May 7, 2015

How do i compare two strings and get the difference?

I think you need to explain in detail what you mean by the "difference". For example:

s1 = "abc123"
s2 = "xyz"
strDiff = ??

s1 = "abc123"
s2 = "2ca1"
strDiff = ??

No comments:

Post a Comment