Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
ReplaceLineEndingsMBS(Text as String, NewLine as String, yield as boolean = false) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | String | MBS Util Plugin | 19.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Whether we got CR, LF, CRLF or even LFCR, we'll replace it with the given replacement text.
If yield is true, we yield to other Xojo threads every 16 MB of input text to keep other threads responsive.
Handles UTF16/UTF32 by converting first to UTF-8.
Other 8 bit encodings (or no encoding set) are passed through.
Returns new text. May raise OutOfMemoryException in case of no memory available.
The items on this page are in the following plugins: MBS Util Plugin.