StrReplaceW (FUN)ΒΆ

FUNCTION StrReplaceW

Replaces <iLengthToReplace> wcharacters of pstInput by pstReplaceWith, starting at the <iPosition>-th wcharacter position iPosition = 1 is the first character.

InOut:

Scope

Name

Type

Comment

Input

pstInput

POINTER TO WSTRING(255)

udiInputBufferSize

UDINT

The size of the buffer, where pstInput points to

pstReplaceWith

POINTER TO WSTRING(255)

udiLengthInput

UDINT

udiLengthToReplace

UDINT

udiLengthToReplaceWith

UDINT

udiPosition

UDINT