StringExtensions StartsWithAny Method Kentico 8.1 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.1.5347.20411)

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