Concatenation (//) operator

Standard: F77 F90 F95 F2003 F2008 F2018 Example program


<Syntax>

expression // expression

This operator has higher precedence than all relational, logical, and binary user-defined operators, and lower precedence than the numeric and unary user-defined operators.

<Semantics>

Concatenation of two character expressions. The character expressions must both have the same kind, and the result is that kind. The length of the result is the sum of the lengths of the expressions.

<Related>

.AND. operator, .EQ. (==) operator, .EQV. operator, .GE. (>=) operator, .GT. (>) operator, .LE. (<=) operator, .LT. (<) operator, .NE. (/=) operator, .NEQV. operator, .NOT. operator, Numeric operators, Operator precedence, .OR. operator, REPEAT intrinsic function