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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal 2011

Status
Not open for further replies.

jchewsmith

Technical User
Nov 20, 2006
161
US
How do I trim off the first four letters of a result from a custom function

My function looks for specific text in a log and I want to only print the log less the first word.

Example: result - Enter xxxx
I want result to be xxxx

 
Hi,

Your request does not coincide with your specific example!

From your example, it is not "the first four letters" of Enter xxxx, rather the first SIX characters!!!???

Does the string ALWAYS begin with the characters "Enter "?
 
Sorry, Yes it alwasy begings with Enter and I do not want Enter to display.
 
The problem with that, BettyJ, is that it will remove ALL instances of the word Enter, not just the first one. A better way would be this:

Mid({string field}, 7)

This will trim the first 6 characters off of the front of the string.

-Dell

DecisionFirst Technologies - Seven-time SAP BusinessObjects Solution Partner of the Year
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top