Click or drag to resize
StringUtilitiesTrimEnd Method
Trims off any character contained in the trimCharacters from the end of the specified string s, and returns the remainder, as well as the trimmed-off suffix in trimmedSuffix. If either s or trimCharacters are null or empty, the result will be equal to sand trimmedSuffix will be null.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public static string TrimEnd(
	string s,
	char[] trimCharacters,
	out string trimmedSuffix
)

Parameters

s
Type: SystemString
The input string
trimCharacters
Type: SystemChar
The set of characters to trim off at the start of s.
trimmedSuffix
Type: SystemString
If any characters have been trimmed off, this out parameter will contain the trimmed-off suffix. If no characters have been trimmed off, this out parameter will be null.

Return Value

Type: String
The remainder of s after trimming off the specified trim characters from the end.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments