Hi-
I'm trying to determine the LPL syntax needed to return all characters to the left of a dash in a field. I did find a post on this forum that showed how to return a certain number of characters from the start of a field but the number of characters can vary in my scenario so I can hardcode the length.
The field I'm working with is: PrimaryWorkAssignment.Location.Description
Examples of what can be in the field include:
OO-Administration
TNONC-Administation
AZ ABC-Administration
Ultimately I want to peel out the value of everything to the left of the dash which is a practice identifier.
Any suggestions would be appreciated.