src/hft/scripts/misc/strings.js
function(str, start) {
    return (str.length >= start.length &&
            str.substr(0, start.length) === start);
  }
function(str, start) {
    return (str.length >= start.length &&
            str.substr(0, start.length) === start);
  }
function ( str , start ) { return ( str . length >= start . length && str . substr ( 0 , start . length ) === start ) ; }
True if string starts with prefix
@static
@param {String} str string to check for start
@param {String} prefix start value
@returns {Boolean} true if str starts with prefix
@memberOf module:Strings
True if string starts with prefix