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 ') | ||