> For the complete documentation index, see [llms.txt](https://baezor.gitbook.io/sklib/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://baezor.gitbook.io/sklib/text/capitalize-first-letter.md).

# Capitalize First Letter

How to capitalize the first letter of a word.

## Overview and Example

You can easily make changes to text the SkLib's text functions. This function returns text, so you can use it in strings.

```csharp
sklib_capitalizeFirstLetter("this sentence is lowercase.")
```

Below is an explanation of how it works and what the function returns.

```csharp
# The first letter of the sentence will always be capitalized.
sklib_capitalizeFirstLetter("this sentence is lowercase.")
# Returns: This sentence is lowercase.

# The rest of the sentence will always be lowercase.
sklib_capitalizeFirstLetter("this SENTENCE is loWerCaSE.")
# Returns: This sentence is lowercase.
```
