StrInList method
Return List of items, where #String exist. Orig. from dawo-tools.
Implementation
List<String> StrInList(List<String> _l, String _s) {
// NULL M Safety List<String> _queryL = new List();
List<String> _queryL = [];
for (var x = 0; x < _l.length; x++) {
if (_l[x].indexOf(_s) > -1) {
_queryL.add(_l[x]);
}
}
return _queryL; // 0-length check in the receiver side.
}