| OGUtilitiesSetAt Method (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.
Namespace: Stingray.GridAssembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: 14.0.0.0
Syntax public static void SetAt(
ref string s,
int iIndex,
char pat
)
Public Shared Sub SetAt (
ByRef s As String,
iIndex As Integer,
pat As Char
)
public:
static void SetAt(
String^% s,
int iIndex,
wchar_t pat
)
Parameters
- s
- Type: SystemString
Input string. - iIndex
- Type: SystemInt32
Index into the input string. - pat
- Type: SystemChar
Replacement pattern.
See Also