Skip to content

M_Ekstrand_Text_StringOperations_FirstCharToLowercase

Fred Ekstrand edited this page Aug 4, 2020 · 1 revision

StringOperations.FirstCharToLowercase Method

Returns a new string in which the first character in the string is set to lower case.

Namespace: Ekstrand.Text
Assembly: StringOperations (in StringOperations.dll) Version: 1.0.0.3 (1.0.0.3)

Syntax

C#

public static string FirstCharToLowercase(
	this string str
)

VB

<ExtensionAttribute>
Public Shared Function FirstCharToLowercase ( 
	str As String
) As String

C++

public:
[ExtensionAttribute]
static String^ FirstCharToLowercase(
	String^ str
)

F#

[<ExtensionAttribute>]
static member FirstCharToLowercase : 
        str : string -> string 

Parameters

 

str
Type: System.String
String to have its first character set to lower case.

Return Value

Type: String
A string that is equivalent to this instance except that the first character is lower case.

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

StringOperations Class
Ekstrand.Text Namespace

Clone this wiki locally