# PadLeft

Insert a number of characters to the beginning of a string (the left) ensuring the string length doesn't exceed the length passed in the first argument.

<table><thead><tr><th width="194">Expression</th><th width="148">Databox Value</th><th width="197">Result</th><th>Comments</th></tr></thead><tbody><tr><td><code>PadLeft(20, '_')</code></td><td>Please sign</td><td>_________Please sign</td><td>Inserts 9 underscores ensuring the string is no more than 20 characters</td></tr><tr><td><code>PadLeft(8, "> ")</code></td><td>Note:</td><td>>>>Note:</td><td>Resulting string is 8 characters long</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/admin/databox-expressions/text-expressions/padleft.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
