Create-String
Command Description
Create a specified number of characters
Command Prototype
sRet = String(iCount,sChar)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
iCount | True | number | 1 | Times of repetition |
sChar | True | string | " " | Create Character |
return
sRet,The variable used to save the output of the command.
Demo
TracePrint("----------------------create string---------------------- --")
//-------------------------------------------------------------------------------
//[Remarks] Create a certain number of characters.
//Input parameter 1:
// iCount--Number of repetitions.
//Input parameter 2:
// sChar--Character created.
//out parameters:
// sRet--The variable to which the output of the function call is saved.
//
//Command prototype: sRet=String(iCount,sChar)
//-------------------------------------------------------------------------------
sRet = String (3, "RPA")
TracePrint (sRet)