On Sat, 15 Sep 2001 18:21:46 -0400, Phil Nolette \(NCS Group, Inc.\) 
wrote:

I just want to use from the comma backwards in C2
>(last name, first name) and compare that to the same in C1.  Can 
someone
>tell me the function code to insert into my RMD file?

Phil,

Try something like

(SGET(namevalue, (sloc(namevalue, ',') - 1), 1))

Test for any that have no comma, because that SLOC expression will l 
evaluate to zero minus one, and you'll get a syntax error or data 
exception when SGET has a -1 argument.

Bill





Reply via email to