How to escape a string to be passed into DecimalFormat
<p>May I know how I can escape a string to be passed into decimal format?</p>

<pre><code>// currencySymbolPrefix can be any string.
NumberFormat numberFormat = new DecimalFormat(currencySymbolPrefix + "#,##0.00");
</code></pre>

<p>How can I escape <code>currencySymbolPrefix</code>, so that it may contains any characters including '#', and will not be interpreted as one of the pattern.</p>

<p>Please do not suggest</p>

<pre><code>NumberFormat numberFormat = new DecimalFormat("#,##0.00");
final String output = currencySymbolPrefix + numberFormat.format(number);
</code></pre>

<p>as my vendor's method only accept single NumberFormat.</p>
