CharBufferString.CopyFrom2 (METH)

METHOD CopyFrom2 : DINT

Does a strcpy from the source string cbsSource into our instance at given position. The return value is the number of characters copied (excluding the 0 character at the end.

InOut:

Scope

Name

Type

Comment

Return

CopyFrom2

DINT

Input

rsSource

REFERENCE TO STRING(255)

The source string, where the characters will be copied from

diTargetOffset

DINT

The 1 relative offset within the source string, where the copying to will start