Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Text.ReadTextFromContainer
Reads content of container value as text.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Text | 4.4 | Yes | Yes | Yes | Yes | Yes |
MBS( "Text.ReadTextFromContainer"; Container { ; Encoding } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Container | The container field or variable containing container value. | $myData | |
| Encoding | The text encoding for result. Default is native. This function can also handle UTF-16 as well as UTF-16LE and UTF-16BE for little/big endian byte order. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
UTF8 | Optional |
Result
Returns text or error.
Description
Reads content of container value as text.You need to be sure it is text and the text encoding. Else you may get garbage.
Examples
Reads text from container:
MBS( "Text.ReadTextFromContainer"; test::test; "UTF8" )
See also
Blog Entries
FileMaker Magazin
Created 18th October 2014, last changed 12nd November 2015
Text.ReadTextFile - Text.RedefineEncoding
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins