.NET Framework Class Library
PDMSystem.AddSpacesLeft Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > PDMSystem Class > PDMSystem Methods > .NET Framework Class Library |
Add spaces to the left side of a string for output formatting.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function AddSpacesLeft ( _ str As String, _ |
C# |
|---|
public string AddSpacesLeft( string str, |
Visual C++ |
|---|
public: String^ AddSpacesLeft( |
JavaScript |
|---|
function addSpacesLeft(str, maxfieldsize); |
Parameters
str
Type: System.String
the string to adding space to
maxfieldsize
Type: System.Int32
the max size of the field to fill
Return Value
The input string str added of spaces before it (up to maxfieldsize).
Remarks
See Also