title: Formatting the phone number
body: <p>The below textbox is printing the value of the phone number after getting it from the database. </p>
  
  <pre><code>&lt;table&gt;
  &lt;tr&gt;
  &lt;td&gt;
  &lt;s:textfield theme="simple" name="phoneNumber"/&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>How to print this value in the format (xxx) xxx-xxxx.
  Note: The values are coming in the form of 0123456789 from the database 
  and output should be (012)345-6789.</p>