Posted on 2009. 1. 7. 11:30
Filed Under Javascript
// String Trim Function
function strTrim(string) {
for(;string.indexOf(" ")!= -1;) {
string = string.replace(" ","");
}
return string;
}
Posted on 2009. 1. 7. 11:30
Filed Under Javascript
// String Trim Function
function strTrim(string) {
for(;string.indexOf(" ")!= -1;) {
string = string.replace(" ","");
}
return string;
}