Skip to main content
Skip table of contents

p$TDV:Util:StrTrunc


p$TDV:Util:StrTrunc

This function removes trailing spaces from the end of the given string.

Instead of this function, f$Trim should be used as it is substantially faster.

Syntax:

NewText = p$TDV:Util:StrTrunc( OldText )

 

Argument

Type

Meaning

 

OldText

String

Text (poss. ended by space)

Result:

String

Text not ended by space

Example:

Text = p$TDV:Util:StrTrunc( 'Example - Text ')
àText = 'Example - Text'

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.