Text.ListWords
--------------

Split words and list them.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Text](component_Text.md) | [8.1](newinversion81.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Text.ListWords"; Text ) 

**MBS**( **"Text.ListWords";** /\* Split words and list them. \*/  
**$Text**) /\* The text to split.e.g. "Hello World" \*/ 

### Parameters

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

### Result

Returns list or error.

### Description

Split words and list them.  
Words are listed in same order.  
We find words based on alpha and numeric characters and use all others as separator.  
  
You can use [List.CountValues](ListCountValues.md) to count the values in the list or directly use [Text.CountWords](TextCountWords.md).  
  
This function works on pure text, so any text style is lost.  
### Examples

Split words:

 MBS ( "Text.ListWords"; "Hello World,äöü." )  
<small>  
Example result:   
Hello  
World  
äöü</small>### See also

- [List.CountValues](ListCountValues.md)
- [Text.CountWords](TextCountWords.md)
- [Text.List](TextList.md)

### Release notes

- **Version 8.1**
    - Added [Text.ListWords](http://www.mbsplugins.eu/TextListWords.shtml), [List.CountValues](http://www.mbsplugins.eu/ListCountValues.shtml) and [Text.CountWords](http://www.mbsplugins.eu/TextCountWords.shtml) functions.

### Example Databases

- [Text functions/Word Count functions](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Text%20functions/Word%20Count%20functions.shtml#1293FieldAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 8.1pr2](https://www.mbsplugins.de/archive/2018-02-07/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 5th February 2018 , last changed 28th January 2022

  
[Text.List](TextList.md) - [Text.LowerCase](TextLowerCase.md)

[HTML Version](TextListWords.shtml)