> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/expressions/functions/functions-descriptions/string-functions/complete.md).

# Complete

Kalipso - Form - Expressions - Functions - Functions Descriptions - String Functions - Complete

This Function returns a \<string>, composed by the *String to Complete* completed at right with the specified *Char*, with the specified *Total Length*.

### Parameters

* **String to Complete** <*string*> - Original string to be completed.
* **Char** <*string*> - Char to use in the completion.
* **Total Length** <*numeric*> - Final length of the string after completion.
* **Complete Left** <*boolean*> - Complete the string at left side?
* **Complete Right** <*boolean*> - Complete the string at right side?<br>

### Examples

* *Example 1*

Complete("Kalipso", "\*", 10, False, True)\
**Result** = Kalipso\*\*

* *Example 2*

Complete("Kalipso", "\*", 10, True, False)\
**Result** = \*\*\*Kalipso

* *Example 3*

Complete("Kalipso", "\*", 10, True, True)\
**Result** = \*\*Kalipso\*

* *Example 4*

Complete("Kalipso", "\*", 10, False, False)\
**Result** = Kalipso

* *Example 5*

Complete("Kalipso", "\*#", 10, False, True)\
**Result** = Kalipso\*#\*

* *Example 6*

Complete("Kalipso", "\*#", 10, True, True)\
**Result** = \*#Kalipso\*

{% hint style="info" %}
If you specify to **Complete Left** and **Complete Right**, the completion method starts at left.
{% endhint %}

{% hint style="info" %}
If you specify to don't **Complete Left** and don't **Complete Right**, the returned value is the **String to Complete**.
{% endhint %}
