Removes leading whitespace from the first segment element, if that is a text element.
If the first segment element is not a text element, nothing will happen. Hence, leading
whitespace will not be removed from a text element if it is preceded by non-text
elements. The number of elements may be altered by this method. Empty (null) elements
will also be removed.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic string TrimStart()
Public Function TrimStart As String
public:
String^ TrimStart()
member TrimStart : unit -> string
Return Value
Type:
StringA string consisting of the trimmed-off characters, or
null if no
characters have been trimmed off
See Also
Comments