I want to create a subarray from an array based on pattern match.
for example:
Object[] o = {"123","134","432","213"}
i want to create an array which should contain only those element which starts from 1. i.e
{"123","134"}
Kindly help.
Thanks in advance.
the fastest solution i can think.