Skip to main content
Inspiring
August 17, 2011
Question

listFirst and listLast

  • August 17, 2011
  • 1 reply
  • 662 views

Hi,

I have column name frrom the db and stored full name with diffrent format such as:

1: Kohei, Doughlas
2: Billon, Kelly K
3: Ford, Henry, L

4. Collin, Herve Gilles

i used listfirst(name, ",") to return the last name and listLast(name," ") to return the first name.  However, if the name has middle name like #2 or #3 or #4 then first name is not return correctly.  What can i do to get the firstname return correct? can you please help?

thanks

This topic has been closed for replies.

1 reply

Inspiring
August 17, 2011

Try:

Listgetat(name,2,' ')

Lyndon Patton

405-301-0952

www.ohrc.org

iPhone

kt03Author
Inspiring
August 17, 2011

worked, thanks