Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Remove Special Character in PHP

phpCopy<?php
$mainstr = "@@PHP@Programming!!!.";
echo "Text before remove:
" . $mainstr;
echo "

Text after remove: 
" . trim($mainstr, '@!.');
?>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #Remove #Special #Character #PHP
ADD COMMENT
Topic
Name
5+8 =