title: Android - Format string with mask
body: <p>I have a product number which I would like to format using a mask.</p>
  
  <p>Example:</p>
  
  <pre><code>String productNumber = "0913014316";
  String mask = "XX.XXX.XXX.XXX";
  </code></pre>
  
  <p>How do I get this following output: <code>09.13.014.316</code>?</p>
  
  <p>Can I use <code>String.format()</code>? Or maybe something else on the Android?</p>
  
  <p>Thank you</p>