To still receiving newsletters from us please subscribe to our Newsletters:http://tech.groups.yahoo.com/group/developers-Heaven/
var str=" some string ";str = str.replace(/^\s+|\s+$/g,"");