Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System Namespace
String Class
String Methods
PadLeft Method
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
String..::.PadLeft Method

Returns a new string of a specified length in which the beginning of the string is padded with spaces or a specified Unicode character.

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkPadLeft(Int32)Right-aligns the characters in this instance, padding with spaces on the left for a specified total length.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkPadLeft(Int32, Char)Right-aligns the characters in this instance, padding on the left with a specified Unicode character for a specified total length.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker