Class StringReferenceExtensions
Inheritance
System.Object
StringReferenceExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Utilities
Assembly: Bayat.Json.Runtime.dll
Syntax
public static class StringReferenceExtensions
Methods
| Improve this Doc View SourceEndsWith(StringReference, String)
Declaration
public static bool EndsWith(this StringReference s, string text)
Parameters
Type | Name | Description |
---|---|---|
StringReference | s | |
System.String | text |
Returns
Type | Description |
---|---|
System.Boolean |
IndexOf(StringReference, Char, Int32, Int32)
Declaration
public static int IndexOf(this StringReference s, char c, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
StringReference | s | |
System.Char | c | |
System.Int32 | startIndex | |
System.Int32 | length |
Returns
Type | Description |
---|---|
System.Int32 |
StartsWith(StringReference, String)
Declaration
public static bool StartsWith(this StringReference s, string text)
Parameters
Type | Name | Description |
---|---|---|
StringReference | s | |
System.String | text |
Returns
Type | Description |
---|---|
System.Boolean |