dibesw Active Member Licensed User Longtime User Nov 29, 2013 #1 HI, I have this problem: this is my list AMEDEO ANNA GIORGIO NICOLA PAOLO .... I have to find a item that StartsWith e.g. EditText1.Text="A" code is Code: Copy If ST.StartsWith(EditText1.Text)=True Then result is AMEDEO ANNA and it's ok but if EditText1.Text="a" there is not result I'm trying EqualsIgnoreCase whith this Code: Copy If EditText1.Text.EqualsIgnoreCase(ST.StartsWith(EditText1.Text)) Then but don't works. Which is the combination of StartsWith and EqualsIgnoreCase. Thanks
HI, I have this problem: this is my list AMEDEO ANNA GIORGIO NICOLA PAOLO .... I have to find a item that StartsWith e.g. EditText1.Text="A" code is Code: Copy If ST.StartsWith(EditText1.Text)=True Then result is AMEDEO ANNA and it's ok but if EditText1.Text="a" there is not result I'm trying EqualsIgnoreCase whith this Code: Copy If EditText1.Text.EqualsIgnoreCase(ST.StartsWith(EditText1.Text)) Then but don't works. Which is the combination of StartsWith and EqualsIgnoreCase. Thanks
thedesolatesoul Expert Licensed User Longtime User Nov 29, 2013 #2 Code: Copy ST.ToLowerCase.StartsWith(EditText1.Text.ToLowerCase) Upvote 0