[#BloombergLP-bdlb-String-toUpper-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/String.adoc[String]::toUpper :relfileprefix: ../../../ :mrdocs: 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). == Synopsis Declared in `<bdlb_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void toUpper(char* string); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#