Click or drag to resize
PageInfoProvider.RemoveCulturePrefix Method (String, String, CultureInfo)
Returns culture code or culture alias defined in URL and removes it from input path.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static string RemoveCulturePrefix(
	string siteName,
	ref string path,
	ref CultureInfo ci
)

Parameters

siteName
Type: System.String
Site name
path
Type: System.String
URL path
ci
Type: CMS.Localization.CultureInfo
Culture info for current culture prefix in URL

Return Value

Type: String
See Also