Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > String Methods > Copy String MethodThe Copy String method copies one string to another string or assigns a custom variable to another variable. It does not return a value. It copies values differently depending on the following:
You cannot use the Copy String method to assign variables of different custom types if one of these variables contains a variant or a variable-length string. Format ALset string = string-expression Format BIf you use format B, then the number of characters that this method copies is equal to the length of the shorter of variable1 and variable2. ArgumentsThe following table describes the arguments that you can use with this method.
ExampleThe following example places a user last name into a variable. If the name is longer than the size of Sub Button_Click |
Siebel VB Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |