trim text
Trim Text in HTML
If you have ever worked with text in HTML, you might have come across the need to trim some unwanted spaces or characters from the beginning or end of a string. This is where the trim() function comes in handy.
The trim() function is a built-in