hope everything is good at your end ..
umm infact not a tip but a utility function to trim string values ..
i was working on a project i had a need to trim user input befor submitting to server side
here is the quick way to do this .
and thats it …
happy development 🙂