trimMultiRight Summary Removes trailing whitespace from the end of each line of the string without removing newline characters. Usage public string trimMultiRight() Returns The string with whitespace removed from the end of each line. Description Removes trailing whitespace from the end of each line of the string without removing newline characters. Examples Basic Usage 1234import System; string text = "The quick brown fox\n jumped over the lazy dog. ";Console.log(text.trimMultiRight()); // "The quick brown fox\n jumped over the lazy dog." Share HTML | BBCode | Direct Link