getTextPartByIndex function
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
getTextPartByIndex function
Retrieves a text part and returns the content
type as a CHARACTER string.
Syntax
|
Applies to
Message objects
Notes
- This
function converts the text part from UTF-8 to the
SESSION:CPINTERNALcode page. - If the message body exceeds 32K, this function raises an error. To avoid this, use getBytesPartByIndex function.
See also
getBytesPartByIndex function, getMessagePartByIndex function, getTextPartByIndex function
For more information, see the MultipartMessage.