0

I have written this code which takes a one dimensional array like for example
{"abc","ade","sss","fgw","asd","lka","o"}
and turns it into an array of arrays based on if a condition is met
if the condition is containing "a" for example the output will be
{{"abc","ade"},{"sss"},{"fgw"},{"asd","...