MSI Factory 2.3

String.TrimRight

String.TrimRight

This is the first topic This is the last topic  

String.TrimRight

This is the first topic This is the last topic  

OverviewExamples

string String.TrimRight (

string SourceString,

string CharactersToTrim = nil )

Example 1

trimmed = String.TrimRight("14345", "54");

Removes the characters in the string "54" from the source string "14345" and stores the resulting string "143" in the variable "trimmed."

Example 2

trimmed_space = String.TrimRight("Bob     ", nil);

Removes the trailing spaces from the source string and returns the string "Bob" in the variable "trimmed_space."

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us