I have the followig list:
List<String> item = new ArrayList<String>();
It contains a list with fruites. How to filter the list after the first 1 or 2 or three characters
from an element (startsWith()
) and display the first element from the list after it is filtered?
Can someone please give me an example?
Appreciate!!