Ehssan Dannouf

Ehssan Dannouf

  • NA
  • 36
  • 2.7k

how could I delete characters from a string in Csharp?

Apr 6 2020 5:51 AM
Hello, how are you doing? 
 
I am working on a small Opensource console program written in Csharp, within the program there shall be a fixed variable called "ehssantitle", and then the user is able to write next to it, then return a user type to be used in another method, the problem is that the console understands to return all values including the fixed variable"ehssantitle" along with the user type message, which is I do not want to...
 
Is there any method to delete the fixed string variable "ehssantitle" from the user message string as before return the variable value to another method?...
 
If requested I can show the code, if this could help to find the solution...
 
Thank you a lot & Best Regards, 
Ehssan Dannouf 

Answers (2)