Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: Supress the unwanted text in a String
Author
Message
SIddhu
Newbie
Joined: 27 Feb 2008
Location: India
Online Status: Offline
Posts: 22
Topic: Supress the unwanted text in a String
Posted: 08 Jul 2008 at 7:35am
How to supress some unwanted text which is present in the middle of the string, say its a standard text, and display the rest in the report ??
for ex :
In this post,
\font
i wanted to
\font
have the unwanted
\font
text to be suppressed.
output must be like :
In this post, i wanted to have the unwanted text to be supressed.
can any one help me out with this ???
Thanks in advance.
Thanks,
Siddhu.
IP Logged
rahulwalawalkar
Senior Member
Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Posted: 08 Jul 2008 at 7:41am
Hi,
Use the following
trim(replace(
{table.fieldname},'\font',''
))
or you can test by hard-coding....
trim(replace(
'In this post, \font i wanted to\font have the unwanted \font text to be suppressed','\font'
,''))
Output
In this post, i wanted to have the unwanted text to be suppressed
Cheers
Rahul
Edited by rahulwalawalkar - 08 Jul 2008 at 7:44am
IP Logged
SIddhu
Newbie
Joined: 27 Feb 2008
Location: India
Online Status: Offline
Posts: 22
Posted: 08 Jul 2008 at 7:47am
thanks rahul,
This one worked fine !!
Thanks,
Siddhu.
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.