Crystal String Functions
Crystal String Functions
com
NOTICE OF RIGHTS
All rights reserved. No part of this book may be reproduced, stored in a retrieval system or transmitted in any
form or by any means, without the prior written permission of the publisher, except in the case of brief
quotations embodied in critical articles or reviews.
NOTICE OF LIABILITY
The author and publisher have made every effort to ensure the accuracy of the information herein. However,
the information contained in this book is sold without warranty, either express or implied. Neither the authors
and Crystal Reports Online Training, nor its dealers or distributors, will be held liable for any damages
caused either directly or indirectly by the instructions contained in this book, or by the software or hardware
products described herein.
InStr(start,str1, str2, Determines if str2 is a sub- Left(str,length) Return a given number of characters
compare) string of str1. The start and starting with the leftmost character.
compare arguments are both Right(str, Return a given number of characters
optional. length) starting with the rightmost character.
InStrRev(start,str1, Same as InStr() except that it
str2, compare) starts at the end of the string The Trim() function deletes all extraneous
and searches towards the spaces from either side of the string, depending
beginning. on which function you call. The Mid(), Left(),
StrCmp(str1, str2, Compares two strings to each and Right() functions return a partial string
compare) other.The compare argument where the number of characters returned is
is optional. based on the length argument. If you don’t
pass a length argument to the Mid() function, it
Val(str) Returns the numeric returns all characters starting with the first one
equivalent of the string. you specified.
DateDiff(interval, startdate, Find the difference D Day part of the date (1 through 31)
enddate,firstdayofweek) between two dates. H Hour
DatePart(interval, date, Return a number N Minute
firstdayofweek, representing the current
firstweekofyear) interval of a date. S Second
Whether you are learning to build your first report or a complex cross-tab report, the tutorials
walk you through each step of the way.
Included with the three best-selling books are video tutorials. We know that some people
learn better by watching rather than reading, and the videos walk you through the steps you
need to build reports.
As a value added service, there is a members-only forum where you can post and answer
questions. The forum is checked on a regular basis by Brian Bischof to help answer your
questions.
As an added bonus, you get to request specific videos that you personally want to see
online. This lets you customize the training for your own needs.
Click Here For Your Special Invitation To Crystal Reports Online Training