Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Formula to remove dash Post Reply Post New Topic
Author Message
rbescos
Newbie
Newbie


Joined: 10 Aug 2010
Location: United States
Online Status: Offline
Posts: 13
Quote rbescos Replybullet Topic: Formula to remove dash
     Posted: 28 Mar 2013 at 12:03pm
Im trying to remove the dashes in one of my reports using Format Field/Common/display string.  Here is a sample of the number
123-5555555-222
 
Can someone help please?  Thank you in advance.
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 29 Mar 2013 at 1:39am
Hi

try this :

Replace({FieldName},'-',"")

Thanks,
Sastry
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum