PankajVerma
Programmer
I'm using crystal reports 8.5 and trying to match two fields to see if some of the letters in one field are found in the other field.
Example:
field1 = SFOWBUCKN1
field2 = BUCKNER
I need a statement that compares the values of field1 and field2 to return a "true" or "false".
In the above example, this should return a "true"
Example 2:
field1 = SFOWBUTLH1
field2 = BUCKNER
This should return a "false"
Requirements:
The characters should be in the same sequence
The max number of characters to match is 5
The max length of each field I'm comparing is 66
Please help me out.
Regards,
Pankaj
Example:
field1 = SFOWBUCKN1
field2 = BUCKNER
I need a statement that compares the values of field1 and field2 to return a "true" or "false".
In the above example, this should return a "true"
Example 2:
field1 = SFOWBUTLH1
field2 = BUCKNER
This should return a "false"
Requirements:
The characters should be in the same sequence
The max number of characters to match is 5
The max length of each field I'm comparing is 66
Please help me out.
Regards,
Pankaj