-
247 votesanswersviews
bash脚本中的Echo选项卡字符
如何使用bash脚本回显一个或多个制表符?当我运行此代码时 res=' 'x # res = "\t\tx" echo '['$res']' # expect [\t\tx] 我明白了 res=[ x] # that is [<space>x] -
526 votesanswersviews
如何在php中删除字符串中的所有空格? [重复]
可能重复:在PHP中去除变量内的空格 我怎么能在PHP中 string string 的所有 spaces ? 我有 string 喜欢 $string = "this is my string"; 输出应该是 "thisismystring" 我怎样才能做到这一点?