StrReplaceW (FUN)

FUNCTION StrReplaceW

Replaces |iLengthToReplace| characters of |pstInput| by |pstReplaceWith|, starting at the |iPosition|-th character position

Note

|iPosition| = 1 is the first character.

InOut:

Scope

Name

Type

Comment

Input

pstInput

POINTER TO WSTRING(255)

Pointer to the source string

uiInputBufferSize

UINT

The size of the buffer, where |pstInput| points to

pstReplaceWith

POINTER TO WSTRING(255)

Pointer to the string that shall be used as replacement

iLengthInput

INT

Length of |pstInput|

iLengthToReplace

INT

Number of characters that shall be replaced

iLengthToReplaceWith

INT

Number of characters that shall be used as replacement

iPosition

INT

Position within |pstInput| where replacement shall start