views:

38

answers:

0

hi all 1---- i'm using java. which method shoude be used to compare 2 similar strings. if the strings are similar, it return TRUE(ABC is similar to B, B is similar to ABC) .

2------- how can i get the number of times a string is repeated in an array of strings? some of The strings are similar (for example person is similar to twolegperson, animal is similar to animalgold). ie, ABC is similar to B And vice versa. (person is repeated 1 times,twolegperson,animal,animalgold ,Each have a repeated.).

thank you very much