function resourceNum(url) {
       var idx = url.indexOf('?');
       if (idx >= 0)
          url = url.substring(0, idx);
       idx = url.indexOf('resource/');
       if (idx >= 0)
          url = url.substring(idx + 'resource/'.length);
       return 'base:' + url;
    }
// Return with the resource in the format base:number from a gigen resource URL
Return with the resource in the format base:number from a gigen resource URL
Return with the resource in the format base : number from a gigen resource URL
function resourceNum(url) {
       var idx = url.indexOf('?');
       if (idx >= 0)
          url = url.substring(0, idx);
       idx = url.indexOf('resource/');
       if (idx >= 0)
          url = url.substring(idx + 'resource/'.length);
       return 'base:' + url;
    }
function resourceNum ( url ) { var idx = url . indexOf ( '?' ) ; if ( idx >= 0 ) url = url . substring ( 0 , idx ) ; idx = url . indexOf ( 'resource/' ) ; if ( idx >= 0 ) url = url . substring ( idx + 'resource/' . length ) ; return 'base:' + url ; }
Return with the resource in the format base:number from a gigen resource URL
Return with the resource in the format base : number from a gigen resource URL