Utility functions / vCard utility functions (IMPORT FGL VCard) |
Extracts name information from a string representing a vCard.
scan_name( source STRING) RETURNING name VCName
This function parses the vCard string passed as parameter to find person name data, and returns name information in a record defined with the VCName type.
IMPORT FGL VCard MAIN DEFINE n VCard.VCName, f TEXT LOCATE f IN FILE arg_val(1) CALL VCard.scan_name(f) RETURNING n.* DISPLAY n.* END MAIN