How to extract fileName from payloadMimeHeaders

Hi,

I need to extract filename from payloadMimeHeader. Does anyone has a builtin service to extract it.

The xml looks this way:

<?xml version="1.0" encoding="UTF-8"?> Text/Plain attachment; filename=[B]ABCDEFGH[/b] &ltDOCOkmsn051a-node2-12c6ddb2ea2-123893456B@abdfegga>

I want to extract the filename( in above eg: ABCDEFGH). How can I achieve that. Please let me know. Thanks in advance.

Any Suggestions please…its really urgent. Thanks.

Hi,
Try to use pub.xml:queryXMLNode service you will get “attachment filename=ABCDEFGH” as out put and from there extract the file name value

provide the input to node to “pub.xml:queryXMLNodeand” query as “doc.IDataXMLCoder[0].record[0].value[1].text” declare one output value
Thanks
WMuser80

Any builtin Services?PLease help.

were you able to figure how to do it ?