Class Strings
Inheritance
System.Object
Strings
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: GameKit.Dependencies.Utilities
Assembly: GameKit.Dependencies.dll
Syntax
public static class Strings
Methods
Contains(String, String, StringComparison)
Returns if a string contains another string using StringComparison.
Declaration
public static bool Contains(this string s, string contains, StringComparison comp)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | |
System.String | contains | |
System.StringComparison | comp |
Returns
Type | Description |
---|---|
System.Boolean |
ReturnModifySuffix(String, String, Boolean)
Attachs or detaches an suffix to a string.
Declaration
public static string ReturnModifySuffix(string text, string suffix, bool addExtension)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | |
System.String | suffix | |
System.Boolean | addExtension |
Returns
Type | Description |
---|---|
System.String |