Remove SUB on line

Peter_1985 2,926 Reputation points
2021-07-05T04:17:23.253+00:00

Hi,
In C#, how to remove SUB on the line below?
111665-1f.png

Developer technologies | .NET | .NET CLI
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Viorel 125.8K Reputation points
    2021-07-05T07:28:01.583+00:00

    If it is a string variable (mytext), then try this code:

    string mytext = . . .
    string result = mytext.Replace( "\u001A", "" );

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.