[#BloombergLP-bdlb-String-toUpper-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/String.adoc[String]::toUpper
:relfileprefix: ../../../
:mrdocs:

`toUpper` overloads

== Synopses

Declared in `&lt;bdlb&lowbar;string&period;h&gt;`

Replace all lower case characters in the specified `string` having the optionally specified `length` with their upper&hyphen;case equivalent&period; The behavior is undefined unless `0 &lt;&equals; length` (if specified) and `string&hyphen;&gt;size() &lt;&equals; INT&lowbar;MAX` (if applicable)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/String/toUpper-0b.adoc[toUpper](char* string);
----

[.small]#xref:BloombergLP/bdlb/String/toUpper-0b.adoc[_» more&period;&period;&period;_]#

Replace lower case characters in the specified `string` with upper&hyphen;case equivalents&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/String/toUpper-02f.adoc[toUpper](xref:bsl/string.adoc[bsl::string]* string);
----

[.small]#xref:BloombergLP/bdlb/String/toUpper-02f.adoc[_» more&period;&period;&period;_]#

Replace lower case characters in the specified `string` with upper&hyphen;case equivalents&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/String/toUpper-0d.adoc[toUpper](std::pmr::string* string);
----

[.small]#xref:BloombergLP/bdlb/String/toUpper-0d.adoc[_» more&period;&period;&period;_]#

Replace lower case characters in the specified `string` with upper&hyphen;case equivalents&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/String/toUpper-04.adoc[toUpper](std::string* string);
----

[.small]#xref:BloombergLP/bdlb/String/toUpper-04.adoc[_» more&period;&period;&period;_]#

Replace lower case characters in `string` with upper&hyphen;case equivalents&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlb/String/toUpper-023.adoc[toUpper](
    char* string,
    int length);
----

[.small]#xref:BloombergLP/bdlb/String/toUpper-023.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
