Horje
c# string replace with empty char Code Example
c# string replace with empty char
// How to replace a char in string with an Empty character
string num = "1234-1234-1234-1234";
num = num.Replace("-", " ");
// result: 1234 1234 1234 1234

// How to remove a char in string
string num = "1234-1234-1234-1234";
num = num.Replace("-", string.Empty);
// result: 1234123412341234




Csharp

Related
c# unity detect any keyboard input Code Example c# unity detect any keyboard input Code Example
new color unity Code Example new color unity Code Example
c# unity detect any keyboard input but not mouse input Code Example c# unity detect any keyboard input but not mouse input Code Example
how to convert a 2d coordinate to an index Code Example how to convert a 2d coordinate to an index Code Example
c# datetime now timestamp Code Example c# datetime now timestamp Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11