📜  从字符串 php 代码示例中删除空格

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

代码示例6
//remove all white spaces from a string
$whatonearth=preg_replace('/\s/','',"what o n   ear th");