fmeobjects.FMEMultiText.removeLastPart

FMEMultiText.removeLastPart()

This removes and returns the last text of the MultiText. If there are no texts in the MultiText, it will return None.

Return type:

FMEText or None

Returns:

The last text of the MultiText. Note: This method returns a terminal text type of the FMEText; i.e. one of the leaf classes in the FMEText inheritance graph. For example, a FMELine is returned if the text truly is a line.

Raises:

FMEException – An exception is raised if an error occurred.