반응형
string strText = "가나다라-마바사--아자차"
strText = strText.Replace("-", "")
MessageBox.Show(strText);
strText값은 "가나다라마바사아자차" 가 나온다.
반응형
'Programming > C#' 카테고리의 다른 글
C# 폼에서 폼으로 파라미터 넘기기 (0) | 2017.09.15 |
---|---|
C# 포커스 이동하기. (0) | 2017.09.12 |
C# Base64를 간단하게 Decoding하기 (0) | 2017.09.11 |
C# 상단에 디버깅, 책갈피 바로가기 아이콘 설정하기 (0) | 2017.09.08 |
C# 글씨체, 크기, 색상 변경 (0) | 2017.09.08 |