Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 754 Bytes

File metadata and controls

40 lines (33 loc) · 754 Bytes

Copy

Description

Function Copy returns a substring from a specified source string.

FUNCTION Copy(
				source : DYNARRAY[] of CHAR;
				index  : INTEGER;
				count  : INTEGER): DYNARRAY[] of CHAR;
def vs.Copy(source, index, count):
    return DYNARRAY[] of CHAR

Parameters

Name Type Description
source DYNARRAY[] of CHAR Source string.
index INTEGER Start position in text string.
count INTEGER Length of substring.

Examples

VectorScript

Message(Copy('A sample string',10,6))
{returns 'string'}

Python

vs.Message(vs.Copy('A sample string',10,6))

Version

Availability: from All Versions

Category