Convert lower‐case characters in string to upper case.

Synopsis

Declared in <bdlb_string.h>

static
void
toUpper(char* string);

Description

Replace all lower case characters in the specified string having the optionally specified length with their upper‐case equivalent. The behavior is undefined unless 0 <= length (if specified) and string‐>size() <= INT_MAX (if applicable).

Parameters

Name

Description

string

null‐terminated string to convert

Created with MrDocs