This works great thanks !!!!Code:/^\s+|\s+$/g
Can someonbe explain these parts though - I knowwhat the replace bit does, but can't find any of hese in my books, what do each parts of this statement mean please ?
|
Results 1 to 20 of 20
Thread: javascript trim() equivalent?Threaded View
|
Click Here to Expand Forum to Full Width |