I have an array like this:
['', 'Monday', '', '', 'Thursday', '', 'Saturday']
OR,
Monday,Thursday,saturday
I want output like;
['Monday', 'Thursday','Saturday']
AND,When i map this array I want to print only first 3 letters of the strings of the array like below;
Mon,Thu,Sat
How to achive this????
Thanks in advance.....