Click or drag to resize
StringUtilitiesTrimStart Method
Trims off any character contained in the trimCharacters from the start of the specified string s, and returns the remainder, as well as the trimmed-off prefix in trimmedPrefix. If either s or trimCharacters are null or empty, the result will be equal to sand trimmedPrefix 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 TrimStart(
	string s,
	char[] trimCharacters,
	out string trimmedPrefix
)

Parameters

s
Type: SystemString
The input string
trimCharacters
Type: SystemChar
The set of characters to trim off at the start of s.
trimmedPrefix
Type: SystemString
If any characters have been trimmed off, this out parameter will contain the trimmed-off prefix. 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 start.
See Also
Community
Edit

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