.NET Framework Class Library
PDMSystem.AddSpacesRight Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > PDMSystem Class > PDMSystem Methods >

.NET Framework Class Library
PDMSystem.AddSpacesRight Method

Add spaces to the right 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 AddSpacesRight ( _

 str As String, _
 maxfieldsize As Integer _
As String

C#

public string AddSpacesRight(

 string str,
 int maxfieldsize
)

Visual C++

public:

StringAddSpacesRight(
 Stringstr,
 int maxfieldsize
)

JavaScript

function addSpacesRight(strmaxfieldsize);

Parameters

str

Type: System.String
the string to add spaces to

maxfieldsize

Type: System.Int32
the max size of the field to fill

Return Value

The input string str added of spaces after (up to maxfieldsize).

Remarks

See Also

PDMSystem Class

PDMSystem Members

MwPDMApi Namespace