NewText =  text .right .trim  (  Text  )  
                                
Description :

This instruction removes all spaces from the end (or right-hand side) of a text string.

Parameters :

  • Text to compute.

Return Value :

  • Text without spaces at right.

Examples :