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
result is
AMEDEO
ANNA
and it's ok
but if EditText1.Text="a" there is not result
I'm trying EqualsIgnoreCase whith this
but don't works.
Which is the combination of StartsWith and EqualsIgnoreCase.
Thanks
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
B4X:
If ST.StartsWith(EditText1.Text)=True Then
AMEDEO
ANNA
and it's ok
but if EditText1.Text="a" there is not result
I'm trying EqualsIgnoreCase whith this
B4X:
If EditText1.Text.EqualsIgnoreCase(ST.StartsWith(EditText1.Text)) Then
Which is the combination of StartsWith and EqualsIgnoreCase.
Thanks