Docs Menu
API Developer Guide / middleware / pub / string / replace

Service: replace

This service will replace the search string in a given string.

Input Parameter:

Name Type Description
text: String Main string
searchString: String String to be searched
replaceString: String String to be replaced

Output Parameter:

Name Type Description
result: String Output string with replace string.