i want to compare two strings. one is from a string array(A). other one is from a string( B ) i want to check whether the ( B ) is existing a part of the ( B ) in (A). so those parts can show as the results. i have done the string comparison using strcmp. but i want to get several outputs. as example given below
lets say the saerching name is : naval
if the (A) string array have a similar names like nash, value , aval .. those results should come without just comparing as strcmp. which shows only one record.
please help me ( btw im not asking the code. im asking is there way and then which are the methods as strcmp to compare two strings)
*** MOD EDIT: Made readable by removing smilies ***
This post has been edited by JackOfAllTrades: 07 September 2009 - 07:00 AM

New Topic/Question
Reply




MultiQuote





|