How to do I go about changing a string from "\n \t\t\t\t\t\t\tArthur Lynch \t\t\t\t\t\t" to "Authur Lynch" in javascript.
Asked
Active
Viewed 66 times
0
-
2Does this answer your question? [Remove tab ('\t') from string javascript](https://stackoverflow.com/questions/9018015/remove-tab-t-from-string-javascript) – azbarcea Jan 25 '22 at 02:51
-
2If it's just whitespace at the beginning and end, use `string.trim()` – Barmar Jan 25 '22 at 02:52