How to make specific word in string upperCase or lowerCase?
<p>Okay I have a small problem I want to make specific words in this string to be upperCase() or lowerCase().</p>

<p>This is what I originally tried:</p>

<pre><code>function lcFunct() {
        var a = "WelCome TO the Test I WANT all THIS to be LoWeRCAse"
        document.getElementById("tests").innerHTML = a.str.replace(6,12).toUpperCase()
}
</code></pre>

<p>All I want to know is how to simply make certain words <code>lowerCase</code> or <code>upperCase</code>.</p>