Hello
I have a unordered list that contains
<ul id="strip">
<li><a href="#"><span>This-is a test string</span></a></li>
<li><a href="#"><span>This is without</span></a></li>
<li><a href="#"><span>New-test</span></a></li>
</ul>
I need to bold the text before the "-", so in the first <li>
"This" is bolded.
I'm stuck in the loop where I should find the "-".
NB: Regular JavaScript, no JQuery :-)