C++
template <class T> const wchar_t & operator []( T nIndex ) const;
Description
Returns a const reference to the character at the given position in the string.
Parameters
Parameters | Description |
---|---|
nIndex | Input zero-based position of character in the string |
Returns
Returns const reference to character index.
Remarks
Returns const reference to static null string, if index is invalid.