lyj 0001-01-01 0001-01-01 约 64 字 预计阅读 1 分钟 次阅读 目录 包含字符串 包含字符串A="helloworld" B="low" if [[ $A == *$B* ]] then echo "包含" else echo "不包含" fi Please enable JavaScript to view the comments powered by Valine.