-
Notifications
You must be signed in to change notification settings - Fork 0
M_Ekstrand_Text_StringOperations_Remove_1
Fred Ekstrand edited this page Aug 4, 2020
·
1 revision
Returns a new string in which the specified substrings from the current string are deleted.
Namespace: Ekstrand.Text
Assembly: StringOperations (in StringOperations.dll) Version: 1.0.0.3 (1.0.0.3)
C#
public static string Remove(
this string str,
string[] oldChars
)
VB
<ExtensionAttribute>
Public Shared Function Remove (
str As String,
oldChars As String()
) As String
C++
public:
[ExtensionAttribute]
static String^ Remove(
String^ str,
array<String^>^ oldChars
)
F#
[<ExtensionAttribute>]
static member Remove :
str : string *
oldChars : string[] -> string
- str
- Type: System.String
String to have its substring deleted. - oldChars
- Type: System.String[]
String array of substrings to be deleted from the given string.
Type: String
Returns a new string which the specified substrings are deleted
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).
StringOperations Class
Remove Overload
Ekstrand.Text Namespace
Copyright © 2019 Fred Ekstrand Jr
Send comments on this topic to fredekstrandGithub@gmail.com
Created using: Sandcastle Help File Builder
-
Ekstrand.Text Namespace
-
StringOperations Class
-
StringOperations Methods
- StringOperations.EscapeIllegalChars Method
- StringOperations.FirstCharToLowercase Method
- StringOperations.FirstCharToUppercase Method
- StringOperations.PadCenter Method
- StringOperations.PadCenterCrop Method
- StringOperations.PadLeftCrop Method
- StringOperations.PadRightCrop Method
- StringOperations.Remove Method
- StringOperations.Replace Method
- StringOperations.ToTitleCase Method
-
StringOperations Methods
- StringUtil Class
-
StringOperations Class