Profesional desarrollo web
Para obtener un substring en PHP, usaríamos la función substr:
substr("Hello world",0,10);