Answers for "jquery text trim value"

1

jquery trim

$.trim("    hello, how are you?    ");
OUTPUT : "hello, how are you?"
Posted by: Guest on August-20-2021
0

trim string after - in jquery

var str = "example.com/hello#item1".split('#')[0];
Posted by: Guest on April-19-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language