StringBuilderExtensionsStartsWith(StringBuilder, Char, StringComparison) Method

Determines whether the source StringBuilder ends with the specified character.

Definition

Namespace: DevCase.Extensions.StringBuilderExtensions
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool StartsWith(
	this StringBuilder sb,
	char character,
	StringComparison stringComparison
)

Parameters

sb  StringBuilder
The source StringBuilder.
character  Char
The character to find.
stringComparison  StringComparison

[Missing <param name="stringComparison"/> documentation for "M:DevCase.Extensions.StringBuilderExtensions.StringBuilderExtensions.StartsWith(System.Text.StringBuilder,System.Char,System.StringComparison)"]

Return Value

Boolean
true if the source StringBuilder ends with the specified text; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StringBuilder. 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