Input Mask from the console
<p>can you help me with input mask?</p>

<p>String format  = "X-XX-XXX"</p>

<p>X is the user input from console / keyboard. </p>

<p>I keep wanting to show the dash (-) while the user input to the string format.</p>

<p>Can you help me to solve my problem? </p>
