<?php $str = 'cream 100g'; $p = strcspn($str, '0123456789'); var_dump($p);
You have javascript disabled. You will not be able to edit any code.