""사이의 빈 공간을 어떻게 제거 할 수 있습니까? 나는 100 개가 넘는 리치 텍스트 박스를 가지고 있고, 나의 문장은 ""사이에 빈 공간을 가지고 아래처럼 간다.문자열 트림 공간을 제거 하시겠습니까?
내 문장
remove only " railing" spaces of a string in Java
remove only " trailing" spaces of a string in Java
remove only " ling" spaces of a string in Java
remove only " ing" spaces of a string in Java
.
.
.
은 다음과 같아야합니다
remove only "railing" spaces of a string in Java
remove only "trailing" spaces of a string in Java
remove only "ling" spaces of a string in Java
remove only "ing" spaces of a string in Java
.
.
.
내 코드
richTextBox1.lines.Trim().Replace("\" \" ", " ");
당신은 RichTextBox1에 = richTextBox1.lines.Trim()'같은 RichTextBox1에 다시 할당해야' – V4Vendetta