Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Base Namespaces
CMS.Base
StringExtensions Class
StringExtensions Methods
CompareToCSafe Method
EndsWithAny Method
EndsWithCSafe Method
EqualsCSafe Method
IndexOfCSafe Method
LastIndexOfCSafe Method
StartsWithAny Method
StartsWithCSafe Method
ToLowerCSafe Method
ToUpperCSafe Method
StringExtensions
ToUpperCSafe Method
Converts string to upper case. This method is culture safe - it fixes some problems with different cultures.
Namespace:
CMS.Base
Assembly:
CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
string
ToUpperCSafe
(
this
string
str
)
Parameters
str
Type:
System
String
String source data
Return Value
Type:
String
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
StringExtensions Class
CMS.Base Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com