Midrange News for the IBM i Community

Posted by: aahhdd
API to extract email address from a given string
has no ratings.
Published: 15 Jun 2012
Revised: 23 Jan 2013 - 2187 days ago
Last viewed on: 18 Jan 2019 (4813 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

API to extract email address from a given string Published by: aahhdd on 15 Jun 2012 view comments(13)

Is there any API availabe which can extract email address from a given string. I want to use this API in RPG program to extract email address present in a string.
Also i want to get the start and end position of the email id in string.

I have a Physical file with 2 fields (FLD1 and FLD2), FLD1 is of 1024 Lenght(Character) and Will contain XML data.
We need an API which can accept this FLD1 Value as input and
can retun the email address from this FLD1 Along with Starting and End position of email address in FLD1.



Return to midrangenews.com home page.
Sort Ascend | Descend