Checks the URL prefix. If the prefix is present, returns true and removes the prefix from the URL if removePrefix is true.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- path
- Type: System String
Path to check
- prefix
- Type: System String
Prefix to check
- removePrefix
- Type: System Boolean
Remove the prefix if matches
Return Value
Type: BooleanSee Also