System::String::operator[] method

String::operator[] method

Gets character at specified position.

char_t System::String::operator[](int index) const
ParameterTypeDescription
indexintIndex to get character from.

ReturnValue

Character at specified position or 0xffff if out of bounds.

See Also