Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFStringMBS class.

CFStringMBS.DisplayString as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation MBS MacCF Plugin 10.1 ✅ Yes ❌ No ❌ No ✅ Yes All
For the debugger the string of this CFString reduced to maximum of 1000 characters.

(Read only property)

CFStringMBS.DoubleValue as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the string interpreted as an double value.
Example
dim d as CFStringMBS = NewCFStringMBS("3.4")
MsgBox str(d.DoubleValue)

Compare to val.
Skips whitespace; returns 0.0 on error.
(Read only property)

CFStringMBS.FastestEncoding as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Obtains the encoding for the characters in a CFString that requires the least conversion time.

-1 on Windows.
(Read only property)

CFStringMBS.IntegerValue as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the string interpreted as an integer value.
Example
dim d as CFStringMBS = NewCFStringMBS("3.4")
MsgBox str(d.IntegerValue) // shows 3

Compare to val.
Skips whitespace; returns 0 on error, MAX or -MAX on overflow.
(Read only property)

CFStringMBS.Len as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the length in chars of the string.

(Read only property)

CFStringMBS.SmallestEncoding as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Obtains the smallest encoding on the current system for the character contents of a CFString object.

Value is -1 on Windows and Mac OS Classic.
(Read only property)

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...