 | ExtensionMethodskStuff Method |
Stuffs the specified string.
Namespace:
Koden.Utils.Extensions
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static string kStuff(
this string str,
int start,
int length,
string replacement
)
<ExtensionAttribute>
Public Shared Function kStuff (
str As String,
start As Integer,
length As Integer,
replacement As String
) As String
public:
[ExtensionAttribute]
static String^ kStuff(
String^ str,
int start,
int length,
String^ replacement
)
[<ExtensionAttribute>]
static member kStuff :
str : string *
start : int *
length : int *
replacement : string -> string
Parameters
- str
- Type: SystemString
The original string. - start
- Type: SystemInt32
The start. - length
- Type: SystemInt32
The length. - replacement
- Type: SystemString
The replacement.
Return Value
Type:
StringString with stuffed data
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also