Home - RAD C++ GUI Lib 1.2.2 Documentation
Published on March 09, 2007 [03:04:02 PM]



Browse class : String

Function : String replace (String Needle, String ReplaceStr [,int StartIndex])


Description

Find a sub-string Needle on all occurances and replace it with new ReplaceStr.


Return

Returns resulting modified string.


Remarks

Example:

String s = "Ali---Imran";
s = s.replace("---"," "); //s now contains "Ali Imran"





Visit www.radcpp.com for more help and updates. Documentation created using FlaX.Doc