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 2020
:
Report Design
Topic: Searching a String effectively
Oldest Post First
Newest Post First
Author
Message
Chrisp85
Newbie
Joined: 12 Sep 2014
Online Status: Offline
Posts: 5
Topic: Searching a String effectively
Posted: 29 Jan 2015 at 6:55am
Hello,
I am having trouble grasping how to setup a formula to pull the below information out of the string.
%200340$1$0$1$10%
How would I write a formula to extract only the numbers between the $% on the right hand side. Example above is 10, however could go into 3 digits.
Thank you
IP Logged
Chrisp85
Newbie
Joined: 12 Sep 2014
Online Status: Offline
Posts: 5
Posted: 29 Jan 2015 at 6:59am
Another note: the numbers before it are dynamic as well. Could be
%200340-1$1$0$10$100%. This may complicate the formula.
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 30 Jan 2015 at 3:51am
maybe this? Note it is strill a string. YOu would need to use tonumber to make it numeric
replace(Mid({table.field},InStrRev({table.field},"$")+1),"%","")
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
This page was generated in 0.031 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.