03-10-2007 12:57 PM - edited 03-10-2007 12:57 PM
Message Edited by altenbach on 03-10-2007 11:00 AM
03-10-2007 01:07 PM
Hi,
Sorry about this, but it still not what iam am looking for. What i need is each time the string matches the i get an output, if the string did not match i get a 0 at each comparison. I need something that gets an output at each comparison, NOT THE TOTAL NUMBER OF MATCHES. I am really no further when i started. It is my fault that i did not explain it correctly. So how can this be achieved. Because i have not idea.
king1
03-10-2007 01:48 PM
03-10-2007 01:59 PM
@King1 wrote:
Sorry about this, but it still not what iam am looking for. What i need is each time the string matches the i get an output, if the string did not match i get a 0 at each comparison. I need something that gets an output at each comparison, NOT THE TOTAL NUMBER OF MATCHES.
@King1 wrote:
ARRAY STRINGCraig CraigJonBillCraigThis example would give an output of 2, because the string matches an element of the array.
03-10-2007 03:06 PM - edited 03-10-2007 03:06 PM
O.k,
The way that it should work is using the craig example:
1. The string is compared with the first element of the array, a 1 is indicated at the indictor if it is equal, then the string is compared with the second element, since it does not match the indicator displays a 0. Then this is repeated until there are no more elements in the array.
Message Edited by King1 on 03-10-2007 03:18 PM
03-10-2007 03:12 PM