AppCtrlScript

MAY Computer

Help

GETVALSASSTRING

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Primary

See also  

SETVALS, GETVALSASCMDLINE

Returns a set of script variables as a single content string of the following style:

<Variable>=["]<Value>["]
{<Variable>=["]<Value>["]}

 

Syntax

GETVALSASSTRING <VariableName>[, <Prefix>][, <SepStr>][, <StripPrefix>]
GETVARSASSTRING <VariableName>[, <Prefix>][, <SepStr>][, <StripPrefix>]

Part

Description

<VariableName> String containing one or more variable assignments in a style matching the explanations above.
<Prefix> Optional search prefix for variable names. If specified only variables where their names begin with <Prefix> are added to the resulting content string.
<SepStr> Optional separation string between variable assignments for resulting content string. Default is CHR(13) + CHR(10) (carriage return + line feed).
<StripPrefix> 1|0; Optional flag if searched prefix should be stripped for variables in result string. Default is 1. Prefix is only

 

Sample

;Assuming the following script variables have been set previously:
;  My_Title=Test
;  My_ID=123

GETVALSASSTRING Result, "My_"

;Result will be:
;  Title=Test
;  ID=123