OGUtilities Class |
Namespace: Stingray.Grid
The OGUtilities type exposes the following members.
Name | Description | |
---|---|---|
OGUtilities | Initializes a new instance of the OGUtilities class |
Name | Description | |
---|---|---|
Count(String, Char) |
Counts the number of occurrences of a character pattern in a
string.
| |
Count(String, String) |
Counts the number of occurrences of a string pattern in a
string.
| |
CountDigits |
Counts the number of digits in a string. Note:
Decimal characters are counted as digits.
| |
GetDigitAfterIndex |
Gets the first digit after a particular index in a string.
| |
GetDigitBeforeIndex |
Gets the first digit before a particular index in a string.
| |
GetDigitIndex |
Returns the index of the specified digit number within the string
or -1 if the string does not contain enough digits.
| |
IsAllDigits |
Determines if a string is actually a number.
| |
Remove |
Removes a pattern from the string repeatedly until
the end.
| |
SetAt(String, Int32, Char) |
Inserts a character pattern at a specified index in the string.
Uses a reference value for the destination because setting it
back to the original string is often forgotten and
is a common source of mistakes.
| |
SetAt(String, Int32, Int32, String) |
Inserts a string pattern at a specified index in the string.
Uses a reference value for the destination because setting it
back to the original string is often forgotten and
is a common source of mistakes.
|