Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove after character

$s = 'Posted On April 6th By Some Dude';
echo strstr($s, 'By', true); // Posted On April 6th
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #remove #character
ADD COMMENT
Topic
Name
3+7 =