unicodePlainText | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | field | ||||||
Summary | Returns the contents of a field chunk as plain text. | ||||||
Introduced | 4.6 | ||||||
Deprecated | In LiveCode 7.0 the language was changed to handle unicode transparently. This means that language functionality which previously aided unicode text manipulation is no longer required. | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Property: plainText, dontWrap, unicodeFormattedText, formattedText | ||||||
Description | Use the unicodePlainText property to get the content of a field as plain text with any listStyle properties being converted appropriately into plain-text for the paragraphs they affect. When you get a field's unicodePlainText, the field's text is converted to plain text with any listStyle property being converted appropriately into plain-text. Any paragraphs with listStyle set are prefixed by an appropriate plain-text form of the bullet or index. The property returns text encoded in UTF-16 in host byte-order. Important: As this property is deprecated, it should not be used in new code; simply get the plainText as normal. The following are now equivalent:
| ||||||
Tags | text processing |