StringExtensions class
public static class Korzh.EasyQuery.StringExtensions
Static Methods
Section titled “Static Methods”Type | Name | Description |
---|---|---|
Boolean | BreakBy(this String s, Char sep, String& key, String& val) | |
Int32 | CompareToCI(this String s1, String s2) | Compares two strings case-insatively . |
Int32 | ToInt(this String s, Int32 defValue = 0) | Converts the string representation of a number to its 32-bit signed integer equivalent. This method does not throw an exception. Instead - it returns some pre-defined value for unsuccessful conversions. |
Int64 | ToLong(this String s, Int64 defValue = 0) | Converts the string representation of a number to its 64-bit signed integer equivalent. This method does not throw an exception. Instead - it returns some pre-defined value for unsuccessful conversions. |