Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove last newline from string

$string = rtrim($string_to_remove);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #remove #newline #string
ADD COMMENT
Topic
Name
7+1 =