Brace notation

In several programming languages, such as Perl, brace notation is a faster way to extract bytes from a string variable.

Hence in C, the following is a legitimate example of brace notation: Note that each of a_string[n] would have a 'char' data type while a_string itself would return a pointer to the first element in the a_string character array.

PHP expects the string to end with the same quotation mark as the opening quote(s).

MATLAB handles brace notation slightly differently from most common programming languages.

Strings begin with index 1 enclosed in parentheses, since they are treated as matrices.