company logo

string type operation

String type operations support all comparison, logical and assignment operations. Arithmetical operations are supported only partially.

Comparing two strings is based on comparing characters in the string from left to right until the first characters have been found that are not equal.

Logical operations with strings will convert both operands into Boolean values before performing the operation.

As arithmetical operation only the '+' operation is supported, which concatenates two strings. All other arithmetical operations result in an empty string value.

Generalisations:  type operation