我正在尝试编写一个函数,该函数将修剪从字符串开头到它命中的字母的所有数字。
不确定我是否应该使用正则表达式或 !is_numeric 或其他什么。
$string = ltrim($string, '0..9');
http://php.net/ltrim