chop « String « PHP





1.chop() function returns a string minus any ending whitespace and newlines.