Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get words after string in in php

$string = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla felis diam, mattis id elementum eget, ullamcorper et purus.";
$prefix = "Nulla";
$index = strpos($string, $prefix) + strlen($prefix);
$result = substr($string, $index);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #words #string #php
ADD COMMENT
Topic
Name
4+9 =