StringExtensions StartsWithAny Method Kentico 8.0 API Reference
Returns true if the string starts with any of the given strings

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

value
Type: OnlineSystem String
Value to check
comparison
Type: OnlineSystem StringComparison
Comparison type
prefixes
Type:  OnlineSystem String 
Prefixes to check

Return Value

Type: OnlineBoolean
See Also