Split Datamapper Fields or Possible to sort data by lastname in workflow?

Hi Guys,
I just want to know if how can i possible determine and split firstname and lastname ?

Because our client need to sort the output pdf thru lastname so thats the solution (above) i know for now. Need your suggestions guys

Thanks,
g

Hi ggan,

For splitting dm fields, you`ll have to create two fields within your extraction and set their type to javascript. then write javascript syntax using the following two methods:

Please check this example : split_dm_fields.OL-datamapper (3.1 KB)

Hope this helps!

Best,
fsh22