---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, PMD Scripting, Scripts]
nav: wcp_docs
parent_url: /wcp_docs/
title: upperCase (locale)
layout: subsection
---

## <a id="section_m3p_myb_5db"></a>Description

Converts the string to uppercase, using the case rules of the specified locale.

## <a id="section_cyq_j1m_zsb"></a>Return Type

`String`

## <a id="section_dz5_pwg_5db"></a>Instance Method Syntax

```
thisString.upperCase(locale)
```

<table><thead><tr><th>Parameter</th><th>Description</th></tr></thead><tbody><tr><td>locale</td><td>The ISO 639-1 language code. Example: en-US</td></tr></tbody></table><br/>

<b>Example</b>

`'The Quick Brown Fox'.upperCase('en-GB')`

Returns `'THE QUICK BROWN FOX'`

## <a id="section_dz5_pwg_5d"></a>Namespace Function Syntax

```
string:upperCase(string, locale)
```

<table><thead><tr><th>Parameter</th><th>Description</th></tr></thead><tbody><tr><td>string</td><td>The input String.</td></tr><tr><td>locale</td><td>The ISO 639-1 language code. Example: en-US</td></tr></tbody></table><br/>

