使用函数 Cases 或 Select 第一个参数为列表, 第二个参数为筛选规则 Cases[list, pattern] 转载于:https://my.oschina.net/rxpert/blog/689607