MidWString (FUN)ΒΆ
FUNCTION MidWString : ERROR
Return <iLength> characters of <pwst>, beginning at the <iPosition>-th character position. <iPosition> = 1 is the first character.
- InOut:
Scope
Name
Type
Comment
Return
MidWString
Input
pwst
POINTER TO WORD
udiLength
UDINT
udiPosition
UDINT
pwstResult
POINTER TO WORD
The buffer, where the result will be returned
udiResultBufferSize
UDINT
The size of the buffer (in bytes), where the result will be returned