Home News DOC Class DL Others Cooker
Class  >  string  >  TrimStart()
string class : TrimStart() method

Description

Returns a string that removed whitespace characters at the beginning of the caller.

Syntax

stringInstance.TrimStart()

Arguments

None

Return value

ClassDescription
stringA string that removed whitespace characters at the beginning.

Sample code

//anyString is a instance of string type.

string trimmedString = anyString.TrimStart();

Notes

It's a wrapper of the System.String.TrimStart(Char[]).

Links for reference

Copyright © Rice All rights reserved.