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

Left of - 1

Status
Not open for further replies.

Kivairu

MIS
Mar 18, 2009
106
KE
Hi all,
I am working with Crystal 11 and I want to be left with only the left part of the field.I have "Gym Fee-Health And Recreation Centre".
I only want to be left with "Gym Fee".

How can I go about this?

Thanks
 
If it is always split with a hyphen -

@Split
split({yourfield}, "-")[1]

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top