 | ExtensionMethodskSplice Method |
Splices the specified string.
Namespace:
Koden.Utils.Extensions
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static string kSplice(
this string str,
int start,
int length,
string replacement
)
<ExtensionAttribute>
Public Shared Function kSplice (
str As String,
start As Integer,
length As Integer,
replacement As String
) As String
public:
[ExtensionAttribute]
static String^ kSplice(
String^ str,
int start,
int length,
String^ replacement
)
[<ExtensionAttribute>]
static member kSplice :
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 spliced 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