Remove SUB on line

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

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

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
347 questions
C#
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.
11,411 questions
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 121.3K 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 Answers by the question author, which helps users to know the answer solved the author's problem.