DataBasic Reference > MultiValue Compatibility > Statements and Intrinsic Functions > EREPLACE Function

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

EREPLACE Function (DataBasic MultiValue Compatibility) (m6187ai+ereplace_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

EREPLACE Function

Replaces a substring with a new substring.

This function is provided for compatibility with other MultiValue systems.

Syntax

EREPLACE(old-string, old-substr, new-substr{, count{, startOccur}})

Syntax Elements

oldString The original string.

oldSubstr The substring in the original string to be changed.

newSubstr The replacement substring.

count The number of occurrences of oldSubstr to replace with newSubstr. If omitted or less than 1, all occurrences are replaced.

startOccur The number of the first occurrence to replace. If omitted or less than 1, the first occurrence is assumed.

Return Value

EREPLACE returns the modified string.

Comments

EREPLACE is identical in operation to the CHANGE function.

RealityV15.1 (MoTW) Revision 7Comment on this topic