C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[39855] StringReplace 가 있었군요 ㅡ.ㅡ
볼레롱 [bolero] 1611 읽음    2005-04-15 18:35
juppie 님이 쓰신 글 :
: StringReplace 사용하면 될듯~
:
: Returns an AnsiString with occurrences of one substring replaced by another substring.
: enum SysUtils__93 { rfReplaceAll, rfIgnoreCase };
: typedef Set<SysUtils__93, rfReplaceAll, rfIgnoreCase>  TReplaceFlags;
:
: extern PACKAGE AnsiString __fastcall StringReplace(const AnsiString S, const AnsiString OldPattern, const AnsiString NewPattern, TReplaceFlags Flags);
:
: Description
: StringReplace replaces occurrences of the substring specified by OldPattern with the substring specified by NewPattern. StringReplace assumes that the source string may contain Multibyte characters.
:
: S is the source string, whose substrings are changed.
:
: OldPattern is the substring to locate and replace with NewPattern.
:
: NewPattern is the substring to substitute for occurrences of OldPattern.
:
: Flags is a set of flags that govern how StringReplace locates and replaces occurrences of OldPattern. If Flags does not include rfReplaceAll, StringReplace only replaces the first occurrence of OldPattern in S. Otherwise, StringReplace replaces all instances of OldPattern with NewPattern. If the Flags parameter includes rfIgnoreCase, The comparison operation is case insensitive.
:


이 함수가 있을거 같았는데요.

AnsiStringReplace 도 없고,
ReplaceAnsString 도 없길래...

없는줄알고,

만들어서 사용하고 있었는데.. ^^

덕분에  하나 알았습니다.

감사합니다.

+ -

관련 글 리스트
39815 [질문]Edit에 콤마 넣는 방법 궁금이 854 2005/04/13
39839     [답변] 문자열에서 특정 문자를 제거하는 법과 문자 입력 막기 정성훈.해미 3252 2005/04/15
39816     Re:[질문]Edit에 콤마 넣는 방법 옥이 1405 2005/04/13
39823         Re:Re:[질문]Edit에 콤마 넣는 방법 궁금이 1850 2005/04/14
39824             Re:Re:Re:[질문]Edit에 콤마 넣는 방법 옥이 908 2005/04/14
39826                 Re:Re:Re:Re:[질문]Edit에 콤마 넣는 방법(test소스) 궁금이 1010 2005/04/14
39827                     Re:Re:Re:Re:Re:[질문]Edit에 콤마 넣는 방법(test소스) 옥이 1056 2005/04/14
39828                         Re:Re:Re:Re:Re:Re:[질문]Edit에 콤마 넣는 방법(test소스)에러발생 궁금이 924 2005/04/14
39831                             Re:Re:Re:Re:Re:Re:Re:[질문]Edit에 콤마 넣는 방법(test소스)에러발생 옥이 1125 2005/04/14
39834                                 Re:Re:Re:Re:Re:Re:Re:Re:일단 해결;; 2HB 1082 2005/04/14
39838                                     Re:Re:Re:Re:Re:Re:Re:Re:Re:StringReplace 사용하세용 juppie 1521 2005/04/15
39859                                         Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:답변감사합니다 궁금이 873 2005/04/16
39860                                             Re:Re:Re:Re:Re:Re:Re:Re:Re:Re:Re: 사용법 2HB 1329 2005/04/16
39855                                         StringReplace 가 있었군요 ㅡ.ㅡ 볼레롱 1611 2005/04/15
39835                                     Re:Re:Re:Re:Re:Re:Re:Re:Re:일단 해결;; 감사합니다^^* 궁금이 1196 2005/04/14
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.