Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
String ReplacementDownloads: MS Windows Visual C/C++ Libraries Linux/CentOS C/C++ Libraries MAC OS X C/C++ Libraries Solaris C/C++ Libraries C++ Builder Libraries How to replace substrings in a string. CkString str; // Append a Unicode string... str.appendU(L"Line from Hamlet: Stay! speak, speak! I charge thee, speak!"); // Replace all occurances of "speak" str.replaceAllOccurances("speak","talk"); printf("%s\n",str.getString()); // Prints: // Line from Hamlet: Stay! talk, talk! I charge thee, talk!
|
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.