Declaring a String Variable

Siebel VB supports the following types of strings:

  • Fixed-length. Declared with a specific length between 1 and 32767. You cannot write code that modifies a fixed-length variable after you declare it. When you create a fixed-length string, Siebel VB fills it with zeros. To declare a fixed-length string, you use the following format:
    Dim variableName As String * length
    
  • Dynamic. Does not include a declared length. It can vary in length from 0 to 32,767. The initial length for a dynamic string is 0. You can use one of the following formats to declare a dynamic string:

    Dim variableName$
    Dim variableName As String