scan_person()
Extracts person's data from a string representing a vCard.
Syntax
scan_person(
   source STRING )
  RETURNS VCPerson
- source is the vCard string (version 3.0).
 
Usage
This function parses the vCard string passed as parameter, extracts all information, and returns a record defined with the VCPerson type.
Example
IMPORT FGL VCard
MAIN
  DEFINE p VCard.VCPerson,
         f TEXT
  LOCATE f IN FILE arg_val(1)
  CALL VCard.scan_person(f) RETURNING p.*
  DISPLAY p.*
END MAIN