7.22 String manipulation operators

You can use string manipulation operators to concatenate two strings, or to extract a substring.

The following table shows the string manipulation operators. In CC, both A and B must be strings. In the slicing operators LEFT and RIGHT:

  • A must be a string.

  • B must be a numeric expression.

Table 7-4 String manipulation operators

Operator

Usage

Explanation

:CC:

A:CC:B

B concatenated onto the end of A

:LEFT:

A:LEFT:B

The left-most B characters of A

:RIGHT:

A:RIGHT:B

The right-most B characters of A

Non-ConfidentialPDF file icon PDF versionARM DUI0473M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.