Dart SDK
dart:core
String
trimRight
method
trimRight
String
Properties
length
hashCode
isEmpty
isNotEmpty
codeUnits
runes
Constructors
fromCharCodes
fromCharCode
fromEnvironment
Operators
operator []
operator ==
operator +
operator *
Methods
codeUnitAt
endsWith
startsWith
indexOf
lastIndexOf
substring
trim
trimLeft
trimRight
padLeft
padRight
contains
replaceFirst
replaceFirstMapped
replaceAll
replaceAllMapped
replaceRange
split
splitMapJoin
toLowerCase
toUpperCase
matchAsPrefix
allMatches
compareTo
String
trimRight
( )
Returns the string without any trailing whitespace.
As
trim
, but only removes trailing whitespace.