At the moment I have something that looks a little like this


  @string.Format("{0:#,###,###.##}", "9999999999")


which  will display the value as:  9,999,999,999

However sometimes I have only a small DIV to display this large number.  So I want to wrap the number after the commas.

I did try this


  @string.Format("{0:#,###,###.##}", @lot.MinDecrement).replace(",", ",&lt; wbr>")


I just tried to see if it would but a break in the word, but this doesn't work and actually puts  in the string.

Does anyone know how I can simply make the text wrap if it needs to, after a comma?

Thanks


Question: How can I remove an element whose ID starts with "A" and ends with "Z"?
Answer: You can combine those to match elements that both starts with ABCD and ends with Z

$(document).ready(function(){
    $("input[id^='ABCD'][id$='Z']").remove();
});


this removes something like &lt;div id="ABCD_something_Z" ...

To remove elements starting with ABCD AND elements ending with Z

$(document).ready(function(){
    $("input[id^='ABCD'], input[id$='Z']").remove();
});


this removes &lt;div id="ABCDEF"&gt; and &lt;div id="crapZZZ"&gt;