String |
LRM §3.2.1.2. |
The string type is predefined in the package Standard as a standard one-dimensional array type with each element being of the type Character.
type string is array (positive range <>) of character;
The type String is an unconstrained vector of elements of the type Character. The number of characters in a string must be specified during its declaration. Assignments to a String can be done in the same way as in case of any arrays, i.e. using single element assignments, concatenation, aggregates, slices or any combination of them.
A String can have an explicit number base for Binary, Octal or Hexadecimal values.
B"value" -- binary
O"value" -- octal
X"value" -- hexadecimal
"hello world" "0000XXXX" B"0010_1100"