I currently have a wrapper list containing custom sObjects and checkboxes. I also have a inputText field on a Visualforce page and would like to filter the wrapper list by License_Voucher__c which is a field in my custom SObject contained within my wrapper.

I would like for the search to contain all variances of the string such as if the user typed in 'john' , the search would return 'john', 'johnson', 'johnny'. Basically john* or a sql equivalent of 'LIKE'.

To make life simpler I added a string voucherNumber to my wrapper and tried to iterate through the list with the .contains() to see if each element met the inputText requirements.

Unfortunately whether I try searching with the entire correct string or part of the correct string I seem to get no results. Would there be a better approach to this? thanks!

The code you posted appears to have 3 different lists: wrapDynLRList, wrapLRListOriginal and wrapLRList. It would make more sense if wrapLRListOriginal was used in place of wrapLRList.
– Keith CAug 11 '14 at 20:11

small typo mistake on my part. There's only supposed to be two lists and not three. Fixed it for a better understanding. Thanks for spotting that out!
– enphAug 11 '14 at 21:44