Skip to content

String Type

The String type is used to declare variables for storing Strings. For example:

String sName
Move "John" to sName

DataFlex allocates one byte of storage per character contained in the string. The size of a string variable is dynamically allocated at runtime as the string value changes in length.

Notes

  • We recommend storing binary data in UChar arrays instead of strings.
  • For more information regarding string variables, refer to Declaring Variables and the String command.