trim is a function in php which removes the whitespaces from the beginning and end of a string.
but if we want to remove them from one side specifically then we will use these trim function for the left side trim ltrim() and for the right side trim rtrime(),
0 Comment(s)