need to create a function that converts a range object that i created myself into a string?
<p>below is the code that i used to create a range object within my overall programme</p>

<pre><code>function parseRangeString(id, range) {
    var myRangeString = range;
    var myRangeStringArray = myRangeString.split(/[\s]+/);
    var myMax;
    var myMin;
    var myMinOp;
    var myMaxOp;
    var myMaxInc = false;
    var myMinInc = false;
    var op1;
    var op2;
    var cons1;
    var cons2;
    op1 = myRangeStringArray[0];
    cons1 = parseFloat(myRangeStringArray[1]);
    if (myRangeStringArray[2] != null) {
        op2 = myRangeStringArray[3];
        cons2 = parseFloat(myRangeStringArray[4]);
    }
    if (cons1 &lt; cons2) {
        myMin = cons1;
        myMinOp = op1;
        myMax = cons2;
        myMaxOp = op2;
    } else {
        myMin = cons2;
        myMinOp = op2;
        myMax = cons1;
        myMaxop = op1;
    }
    if (myMaxOp.indexOf('=') != -1) {
        myMaxInc = true;
    }
    if (myMinOp.indexOf('=') != -1) {
        myMinInc = true;
    }
    firstRange = new Range(id, myMin, myMax, myMinInc, myMaxInc); //gives back a range object
    return firstRange;
}
</code></pre>

<p>Now i need to make another function that converts the range object to string, help needed asap because i am stuck atm!</p>
