📌  相关文章
📜  部分子字符串比较 bash shell 脚本 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:07.754000             🧑  作者: Mango

代码示例1
string='My long string'
if [[ $string == *"My long"* ]]; then
  echo "It's there!"
fi