Click or drag to resize
OGUtilities Class
This class contains utility functions used in the implementation of GridControl.
Inheritance Hierarchy
SystemObject
  Stingray.GridOGUtilities

Namespace: Stingray.Grid
Assembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: 14.0.0.0
Syntax
public class OGUtilities

The OGUtilities type exposes the following members.

Constructors
  NameDescription
Public methodOGUtilities
Initializes a new instance of the OGUtilities class
Top
Methods
  NameDescription
Public methodStatic memberCount(String, Char)
Counts the number of occurrences of a character pattern in a string.
Public methodStatic memberCount(String, String)
Counts the number of occurrences of a string pattern in a string.
Public methodStatic memberCountDigits
Counts the number of digits in a string. Note: Decimal characters are counted as digits.
Public methodStatic memberGetDigitAfterIndex
Gets the first digit after a particular index in a string.
Public methodStatic memberGetDigitBeforeIndex
Gets the first digit before a particular index in a string.
Public methodStatic memberGetDigitIndex
Returns the index of the specified digit number within the string or -1 if the string does not contain enough digits.
Public methodStatic memberIsAllDigits
Determines if a string is actually a number.
Public methodStatic memberRemove
Removes a pattern from the string repeatedly until the end.
Public methodStatic memberSetAt(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.
Public methodStatic memberSetAt(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.
Top
See Also