Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
String Replacement
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!
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.