Click or drag to resize
OGUtilitiesSetAt Method (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.

Namespace: Stingray.Grid
Assembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: 14.0.0.0
Syntax
public static void SetAt(
	ref string s,
	int iIndex,
	int sCount,
	string pat
)

Parameters

s
Type: SystemString
InputString.
iIndex
Type: SystemInt32
Index into the input string.
sCount
Type: SystemInt32
Replaces "sCount" number of characters.
pat
Type: SystemString
Replacement pattern.
See Also