💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 去除字符串两边空格的方法 ## 方法一 ~~~ function trim(str){ return str.replace(/(^\s*)|(\s*$)/g, ""); } ~~~