Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFCharacterSetMBS class.

CFCharacterSetMBS.GetPredefinedCFCharacterSet(id as Integer) as CFCharacterSetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a predefined Character set.

CFCharacterSetMBS.kCFCharacterSetAlphaNumeric as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for alpha numeric characters.

CFCharacterSetMBS.kCFCharacterSetControl as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for control characters.

CFCharacterSetMBS.kCFCharacterSetDecimalDigit as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for decimal digit characters.

CFCharacterSetMBS.kCFCharacterSetDecomposable as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for decomposable characters.

CFCharacterSetMBS.kCFCharacterSetIllegal as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for illegal characters.

CFCharacterSetMBS.kCFCharacterSetLetter as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for letter characters.

CFCharacterSetMBS.kCFCharacterSetLowercaseLetter as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for lowercase letter characters.

CFCharacterSetMBS.kCFCharacterSetNonBase as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for non base characters.

CFCharacterSetMBS.kCFCharacterSetPunctuation as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for punctuation characters.

CFCharacterSetMBS.kCFCharacterSetUppercaseLetter as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for uppercase letter characters.

CFCharacterSetMBS.kCFCharacterSetWhitespace as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for whitespace characters.

CFCharacterSetMBS.kCFCharacterSetWhitespaceAndNewline as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the ID of the predefined character set for whitespace characters and newline.

CFCharacterSetMBS.NewCFCharacterSet(str as CFBinaryDataMBS) as CFCharacterSetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a Character set with characters inside the CFBinary object.

See also:

CFCharacterSetMBS.NewCFCharacterSet(str as CFStringMBS) as CFCharacterSetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a Character set with characters inside the CFStringMBS object.

See also:

CFCharacterSetMBS.NewCFCharacterSetRange(min as Integer, length as Integer) as CFCharacterSetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a Character set with chars between min and max.
Example
dim c as new CFCharacterSetMBS

c = CFCharacterSetMBS.NewCFCharacterSetRange(asc("A"), 26)

MsgBox str(c.IsMember(asc("C"))) // true
MsgBox str(c.IsMember(asc("1"))) // false

Use Unicode charcodes for min and max.

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


The biggest plugin in space...