ok, checked, substr will not produce notice on null.