Signature (Visual Basic / VBA)
Public Function RightJustifyFast( _
ByRef vValue As String _
, ByVal vWidth As Long _
) As String
Code Example
RightJustifyFast("This is a test.", 20) = " This is a test."
RightJustifyFast("This is a test.", 10) = "This is a test."
Parameters
| Parameter | Description |
|---|---|
| vValue | String which is to be right-justified. |
| vWidth | Length to which the string vValue will be space-filled if its length is less than vWidth. |