Q:

Strip letters in php

We have variable with text:
$text = 'I use something similar to pull the most recent post from my blog and display a snapshot of it on my home page.';

How to strip first 40 symbols of this text? (including spaces).
Should work like this:
echo strip_text($text, 40);

Thanks.

A:

Use PHP's substr:
$stripped = substr($text, 0, 40);

