yessir
Saved By Grace
- Local time
- Today, 12:10
- Joined
- May 29, 2003
- Messages
- 349
I am looking to make a function where you hand it 2 strings (single words) and return a string.
The strings are to be compared in that the first is the string to test and second is to compare to.
What it needs to do is take the RIGHT 2 characters from the first string and compare it to the second (like).
If they are alike then return the 2 characters.
If not, compare the right 3, 4, .... till there is an alike to return.
Can someone help with this?
Thanks
~ Lost
The strings are to be compared in that the first is the string to test and second is to compare to.
What it needs to do is take the RIGHT 2 characters from the first string and compare it to the second (like).
If they are alike then return the 2 characters.
If not, compare the right 3, 4, .... till there is an alike to return.
Can someone help with this?
Thanks
~ Lost