You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Call this function to access a single character of the character array.
722
-
723
-
### Syntax
724
-
725
-
```cpp
726
-
XCHAR operator[](int iChar) const;
727
-
```
728
-
729
-
### Parameters
730
-
731
-
*`iChar`*<br/>
732
-
Zero-based index of a character in the string.
733
-
734
-
### Remarks
735
-
736
-
The overloaded subscript (**`[]`**) operator returns a single character specified by the zero-based index in *`iChar`*. This operator is a convenient substitute for the [`GetAt`](#getat) member function.
737
-
738
-
> [!NOTE]
739
-
> You can use the subscript (**`[]`**) operator to get the value of a character in a `CSimpleStringT`, but you cannot use it to change the value of a character in a `CSimpleStringT`.
0 commit comments