Searches one string into another string and replaces all occurences with a third string.
Example: VFPToolkit.strings.StrTran("Joe Doe", "o", "ak"); //returns "Jake Dake"
public static string StrTran( string cSearchIn, string cSearchFor, string cReplaceWith );
Return Value
string
Parameters
cSearchIn
cSearchFor
cReplaceWith
Overloads:
public static string StrTran( string SearchIn, string SearchFor );
public static string StrTran( string cSearchIn, string cSearchFor, string cReplaceWith, bool ReplaceFirstOnly );
See also:
Class wwUtils© West Wind Techologies, 1996-2023 • Updated: 07/31/07
Comment or report problem with topic