remove line endings from a string
Chomp( s )
The Chomp(s) command returns a copy of input string s with the line endings removed (if any).
Note: This function is similar to the Perl function of the same name.
Compare with the related procedure StringTools[Chop].
All of the StringTools package commands treat strings as (null-terminated) sequences of 8-bit (ASCII) characters. Thus, there is no support for multibyte character encodings, such as unicode encodings.
Chomp⁡This is a test.
This is a test.
Download Help Document
What kind of issue would you like to report? (Optional)