RichText.AppendText
-------------------

Appends text to the current document.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [RichText](component_RichText.md) | [10.0](newinversion100.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "RichText.AppendText"; Text ) 

**MBS**( **"RichText.AppendText";** /\* Appends text to the current document. \*/  
**$Text**) /\* The new text to use.e.g. "Hello World" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The new text to use. | "Hello World" |

### Result

Returns OK or error.

### Description

Appends text to the current document.  
You may need to append a line break first.  
### Examples

Append some text in one expression:

 Let(\[  
r = MBS ( "[RichText.SetText](RichTextSetText.md)"; "Hello " );  
r = MBS ( "RichText.AppendText"; "World!" );  
r = MBS ( "[RichText.Text](RichTextText.md)" )  
\]; r)  
<small>  
Example result: Hello World!</small>### See also

- [RichText.ReadText](RichTextReadText.md)
- [RichText.SetText](RichTextSetText.md)
- [RichText.Text](RichTextText.md)

### Release notes

- **Version 10.0**
    - Added [RichText.AppendFormattedText](https://www.mbsplugins.eu/RichTextAppendFormattedText.shtml) and [RichText.AppendText](https://www.mbsplugins.eu/RichTextAppendText.shtml) functions.

### Blog Entries

- [New in the MBS FileMaker Plugin 10.0](https://www.mbsplugins.de/archive/2020-01-23/New_in_the_MBS_FileMaker_Plugi/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.6pr1](https://www.mbsplugins.de/archive/2019-12-02/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 16th November 2019 , last changed 16th November 2019

  
[RichText.AppendFormattedText](RichTextAppendFormattedText.md) - [RichText.Attribute](RichTextAttribute.md)

[HTML Version](RichTextAppendText.shtml)