> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/formula-syntax/text-formatting-functions.md).

# Text formatting functions

Apply text formatting functions to modify and present text in a structured and readable format.

<table><thead><tr><th width="207">NAME</th><th width="510">DESCRIPTION</th><th data-hidden>SYNTAX</th><th data-hidden>EXAMPLE</th><th data-hidden>EXPLANATION</th></tr></thead><tbody><tr><td><a href="/formula-syntax/text-formatting-functions/concatenate.md">CONCATENATE</a></td><td>Concatenates two or more text strings into one string</td><td>CONCATENATE(string1, string2, ..)</td><td>CONCATENATE("Today's price is ",TEXT(6000,"$###,###.00"))</td><td>Will return "Today's price is $6,000</td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/hyperlink.md">HYPERLINK</a></td><td>Returns hyperlinked text which will navigate to a given URL</td><td></td><td></td><td></td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/left.md">LEFT</a></td><td>Extracts text from the left of the value up to the number of characters specified</td><td>LEFT(text/number, [num_chars])</td><td>LEFT([Full Name],4)</td><td>When field Full Name has values such as Johny Rivers, this will return John</td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/lower.md">LOWER</a></td><td>Converts a text string into lowercase</td><td></td><td></td><td></td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/mid.md">MID</a></td><td>Extracts text from the mid of a string from the position provided up to the number of characters specified in length</td><td>Mid (text, position, length)</td><td>MID([Full Name],0,7)</td><td>When field Full Name has values such as Johny Rivers, this will return Johny R</td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/proper.md">PROPER</a></td><td>Converts the first character of a text string into uppercase</td><td></td><td></td><td></td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/replace.md">REPLACE</a></td><td>Replaces an input text string with a given value</td><td></td><td></td><td></td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/rept.md">REPT</a></td><td>Repeats a given text string a specified number of times</td><td></td><td></td><td></td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/right.md">RIGHT</a></td><td>Extracts text from the right of the value up to the number of characters specified</td><td>RIGHT(text/number, [num_chars])</td><td>RIGHT([Full Name],6)</td><td>When field Full Name has values such as Johny Rivers, this will return Rivers</td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/text.md">TEXT</a></td><td>Formats the value to the given format string</td><td>TEXT(value, format)</td><td>TEXT(6000,"$###,###.00")</td><td>Will return $6,000</td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/trim.md">TRIM</a></td><td>Removes leading and trailing spaces</td><td></td><td></td><td></td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/upper.md">UPPER</a></td><td>Converts a text string into uppercase</td><td></td><td></td><td></td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/value.md">VALUE</a></td><td>Converts a text string that represents a number to a number</td><td>VALUE(value:string)</td><td>VALUE(MID”ABC-123-WEW”,5,3))</td><td>Returns “123” as number</td></tr><tr><td><a href="/formula-syntax/text-formatting-functions/length.md">LEN</a></td><td>returns the number of characters in a text string.</td><td></td><td></td><td></td></tr><tr><td><a href="broken://pages/i07BnFjYH90eGi5jFCzC">.ext</a></td><td>specify or identify a file’s extension (like .txt or .jpg).</td><td></td><td></td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.inforiver.com/formula-syntax/text-formatting-functions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
