doodah/web/doodah.js
// NNr	Relative to Previous Meter Right/Bottom

NNr    Relative to Previous Meter Right/Bottom
NNr Relative to Previous Meter Right / Bottom
function ExtractPosition( str ){
	var err = [0,''];
	if(!str) return err;
	str = str.toString();
	re = /(\d+)([rR])?/
	var found = str.match(re);
	if(!found) return err;
	if( !found[2]) found[2]='';
	if(found) return [parseInt(found[1]),found[2]];
}
function ExtractPosition ( str ) { var err = [ 0 , '' ] ; if ( ! str ) return err ; str = str . toString ( ) ; re = / (\d+)([rR])? / var found = str . match ( re ) ; if ( ! found ) return err ; if ( ! found [ 2 ] ) found [ 2 ] = '' ; if ( found ) return [ parseInt ( found [ 1 ] ) , found [ 2 ] ] ; }
NNr    Relative to Previous Meter Right/Bottom
NNr Relative to Previous Meter Right / Bottom