StringReplace

string StringReplace(string inString, string inFind, string inReplace)

Description

Replace string inFind contained inside string inString, with the string inReplace

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inString string string to replace content in
inFind string  string inside inString, to remove and replace
inReplace string string to replace and insert to inString instead of inFind

Return Type

string

Examples

stringReplace("Replace me please", "me p", "AAA") will return this string: "Replace AAAlease". 
inString, containing inReplace instead of inFind
If inFind isn't contained in inString, inString remains doesn't change

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.