InsertLinksToMLCSiblingsMaskOutCountryInfoFromLanguageName Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Returns the language information from the language name.

Namespace: ContentStudio.Site.ActiveScripting.MLC
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected static string MaskOutCountryInfoFromLanguageName(
	string languageName
)

Parameters

languageName
Type: SystemString
The language name

Return Value

Type: String
Returns the language information from the language name (the country information is excluded).
Examples

MaskOutCountryInfoFromLanguageName("English - USA") will return "English"
See Also

Reference