<?php $utf8string = 'Nº de Póliza: 324324 24234234 42'; $var = 'Nº'; $pos = strpos($utf8string, $var); if ($pos!==false) { echo substr($utf8string, 0, $pos); }
You have javascript disabled. You will not be able to edit any code.