BenSelect Documentation
PadLeft Method
See Also  Send Feedback
Selerix.BusinessObjects.View.Census Namespace > ColumnScriptEvent Class : PadLeft Method
str
The string
totalWidth
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
Returns a new string that right-aligns the characters in this instance by padding them with spaces on the left, for a specified total length.

Syntax

JScript 
public function PadLeft( 
   str : String,
   totalWidth : int
) : String;

Parameters

str
The string
totalWidth
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.