Real Software Forums
http://forums.realsoftware.com/

Printing the Mobile Number.
http://forums.realsoftware.com/viewtopic.php?f=6&t=43118
Page 1 of 1

Author:  Bimal [ Mon Mar 12, 2012 2:34 am ]
Post subject:  Printing the Mobile Number.

Hi All,
I have a mobile number like 1233454626.I want to print the mobile number like

(123)345-4626666.How i will do that.

Author:  arthofer [ Mon Mar 12, 2012 3:09 am ]
Post subject:  Re: Printing the Mobile Number.

If you want to display it in a textfield, then you may use the textfield.mask property (found in the help)

but if you need it in a popup, you'll need to check if the number got the right length and then do something like:

dim s as String = "("+number.left(3)+")"+...


and so on to build your own string

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/