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
Back to CFStringMBS class.
CFStringMBS.Character(index as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The returned Xojo string contains a Unicode character.
CFStringMBS.Characters(pos as Integer,len as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The returned Xojo string contains Unicode characters.
CFStringMBS.Compare(other as CFStringMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Return values:
Less Than | -1 |
Equal To | 0 |
Greater Than | 1 |
Function not available | -2 |
See also:
CFStringMBS.Compare(other as CFStringMBS, CaseInsensitive as boolean) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Return values:
Less Than | -1 |
Equal To | 0 |
Greater Than | 1 |
Function not available | -2 |
See also:
CFStringMBS.Compare(other as CFStringMBS, CaseInsensitive as boolean, Numerically as boolean) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Numerically works only if Mac OS X 10.2 or newer is running.
Return values:
Less Than | -1 |
Equal To | 0 |
Greater Than | 1 |
Function not available | -2 |
See also:
CFStringMBS.Compare(other as CFStringMBS, Options as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Numerically works only if Mac OS X 10.2 or newer is running.
Return values:
Less Than | -1 |
Equal To | 0 |
Greater Than | 1 |
Function not available | -2 |
See also:
CFStringMBS.Constructor(text as string = "")
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 13.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CFStringMBS.Edit as CFMutableStringMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CFStringMBS.ExactFind(stringtofind as CFStringMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Exactly, so case sensitive.
CFStringMBS.Find(stringtofind as CFStringMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CFStringMBS.HasPrefix(s as CFStringMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CFStringMBS.HasSuffix(s as CFStringMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CFStringMBS.Mid(pos as Integer,len as Integer) as CFStringMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Compare to Mid in RB.
CFStringMBS.Normalize(NormalizationForm as Integer) as CFMutableStringMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 4.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Requires Mac OS X 10.2 or newer.
Returns nil on any error.
CFStringMBS.Operator_Convert as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 4.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This method is used by Xojo 5.x to allow you to directly create a Xojo string based on a CoreFoundation string.
Xojo may create a NilObjectException if the cfstring object is nil.
See also:
CFStringMBS.Operator_Convert(v As String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation | MBS MacCF Plugin | 4.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This method is used by Xojo 5.x to allow you to directly create a corefoundation string object based on a Xojo string.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the string in a one byte encoding. If possible ASCII string, else if possible MacRoman encoded else UTF8.
(Read and Write computed property)
CFStringMBS.UStr as String Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the string can not be returned as an unicode string, this function returns it as a normal string in System script (e.g. MacRoman).
(Read and Write computed property)
The items on this page are in the following plugins: MBS MacCF Plugin.