Try OpenEdge Now
Messaging and ESB
ABL - JMS API Reference
:
getTextPartByIndex function
getTextPartByIndex function
Retrieves a text part and returns the content type as a
CHARACTER
string.
Syntax
FUNCTION getTextPartByIndex RETURNS CHARACTER
(INPUT
iIndex
AS INTEGER, OUTPUT
partBody
AS CHARACTER).
Applies to
Message objects
Notes
This function converts the text part from UTF-8 to the
SESSION:CPINTERNAL
code page.
If the message body exceeds 32K, this function raises an error. To avoid this, use
getBytesPartByIndex function
.
See also
getBytesPartByIndex function
,
getMessagePartByIndex function
,
getTextPartByIndexfunction
For more information, see the MultipartMessage.