MonobjcMonobjc Documented Class Library
StringByFoldingWithOptionsLocale Method (options, locale)
NamespacesMonobjc.FoundationNSStringStringByFoldingWithOptionsLocale(NSStringCompareOptions, NSLocale)

Returns a string with the given character folding options applied.

Original signature is '- (NSString *)stringByFoldingWithOptions:(NSStringCompareOptions)options locale:(NSLocale *)locale'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString StringByFoldingWithOptionsLocale(
	NSStringCompareOptions options,
	NSLocale locale
Public Overridable Function StringByFoldingWithOptionsLocale ( _
	options As NSStringCompareOptions, _
	locale As NSLocale _
) As NSString
virtual NSString^ StringByFoldingWithOptionsLocale(
	NSStringCompareOptions options, 
	NSLocale^ locale
options (NSStringCompareOptions)
A mask of compare flags with a suffix InsensitiveSearch.
locale (NSLocale)
The locale to use for the folding. The locale affects the folding logic. For example, for the Turkish locale, case-insensitive compare matches “I” to “ı” (Unicode code point U+0131, Latin Small Dotless I), not the normal “i” character.
Return Value
A string with the character folding options applied.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)