package com.bcxin.ars.webservice.util;

import java.util.List;

/**
 * @Auther linqinglin
 * @date 2021/7/2 1:15
 */
public class SubStringUtil {

    public static String getStr(List<String> list){
        StringBuilder str = new StringBuilder();
        for (String subStr : list) {
            str.append("'"+subStr+"',");
        }
        return str.substring(0,str.lastIndexOf(","));
    }
}
