StringExtrasReplaceAllChars Method (String, Char, Char) |
Replace all instances of a char with another char
Namespace: ANDREICSLIB.ClassExtrasAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string ReplaceAllChars(
string origString,
char replaceThis,
char withThis
)
Public Shared Function ReplaceAllChars (
origString As String,
replaceThis As Char,
withThis As Char
) As String
public:
static String^ ReplaceAllChars(
String^ origString,
wchar_t replaceThis,
wchar_t withThis
)
static member ReplaceAllChars :
origString : string *
replaceThis : char *
withThis : char -> string
Parameters
- origString
- Type: SystemString
- replaceThis
- Type: SystemChar
- withThis
- Type: SystemChar
Return Value
Type:
String
See Also