Hi all,

I have a class called address. I want to display the the telephone
number from it.
The below mentioned is the code. But from the address class we will
retrieve it as 10 digit string.

<bean:write name="address" property="telephoneno"/>

For example if  9845612345 is the number I want to display it as
follows.
984-561-2345

Is there any idea of how to format the string in this fashion

Regards,
Krishna Mohan R


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to