Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > String Methods > Right-Justify String MethodThe Right-Justify String method right-justifies one string in another string. It does not return a value. It justifies a string in the following ways:
You cannot use it to assign variables of different custom types. FormatRset string = string-expression The following table describes the arguments that you can use with this method. ExampleThe following example right-justifies an amount that the user enters in a field that is 15 characters long. It then pads the extra spaces with asterisks (*) and adds a dollar sign ($) and decimal places, if necessary: Dim amount as String * 15 replacement = "*" |
Siebel VB Language Reference | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |