﻿// JScript File
/*
 *Utility function that removes spaces from the front and back of string
 *  @param  s   the string to clean up
 */
function trimString(s){
    while(s.charAt(0) == " "){
        s = s.substring(1, s.length);
    }
    while(s.charAt(s.length-1) == " "){
        s = s.substring(0, s.length-1);
    }
    return s;
}
