<?php /** * Cut String at Position * * This script demonstrates how to capture part of a string to a certain position. * * @author Blaze Script * @website https://blazescript.com * @date January 2019 */ // String $sentence = "The sparkly lamp ate a pillow then punched Larry."; // Captures all characters after position $part = substr($sentence,10); // Display the result echo $part; ?>
Cut String at Position
Posted on Friday, February 1st, 2019.