I want to Replcae Special Characters from String
like My name $ Is @ Eshant % Kapoor.
I want to get My name # Is ! Eshant & Kapoor.
Like
$ with #
@ with &
% with !
like this, Means with some values.
There is no automatic way. You need to write a series of Replace functions
string s = "$ Is @ Eshant % Kapoor"; s = s.Replace("$", "#");
And so on...
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.