Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extract 4 digits from phone number 1

Status
Not open for further replies.

debjuran

IS-IT--Management
Jul 29, 2004
3
US
Crystal Reports 8.5

how can I extract 4 digits from a phone number. like (xxx xxx-xxxx xxx) I need to extract the xxxx

 
If it is the exact format for ALL numbers, then

mid({table.phone},9,4) will get what you need

Cheers,
-LW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top