Stats
Comments Posted By Mike M. Lin
Displaying 1 To 1 Of 1 Comments
Removing trailing spaces in eScript
Here’s a slick one-liner for you, using regular expressions.
function trim (s)
{ // takes a string, removes leading and trailing whitespace
// characters. returns the resulting ‘trimmed’ text.return (s.replace (/^s+/, “”).replace (/s+$/, “”)); // all at once
}Comment Posted By Mike M. Lin On January 26, 2009 @ 11:15 pm
Comments (1)
Trackbacks (0) ( subscribe to comments on this post )
Leave a comment
No trackbacks yet.
5:15 am on March 30th, 2010
Hi, i am recently installed siebel in local machine and done DBextract. but when i am doing full get from server it was taking much time the speed is only 15 rows per second. any one can give me an idea about this. how to solve this problem. immeidate responce is appreciated.