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

Using "SPLIT" function in Crystal v8

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I'm not a Crystal Reports programmer and seem to be having some issues with the syntax. I need to split a text string delimited with an ";" but can't seem to get the syntax down.
Thanks
Chris
 
NumberVar SemiColPosition := 0;
StringVar LastName := ' ';
SemiColPosition := InStr({Your_Text_Field}, ';');
LastName := {Your_Text_Field} [1 to SemiColPosition - 1];

This code worked for me. Hope it helps you.

[sig]<p>LindaC<br><a href=mailto:lcastner@co.orange.ny.us>lcastner@co.orange.ny.us</a><br><a href= > </a><br> [/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top