BenSelect Documentation
PadRight Method
See Also  Send Feedback
Selerix.BusinessObjects.View.Census Namespace > ColumnScriptEvent Class : PadRight Method
str
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 left-aligns the characters in this string by padding them with spaces on the right, for a specified total length.

Syntax

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

Parameters

str
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.