Hi Vic;
An alternative can be to use the vi "Search/Split String", located in the function palette:
String -> Additional String Functions
Set the variable "search string/char" as comma (you can use a constant). The output "substring before char" is what you want.
Best regards;
Enrique
www.vartortech.com