AppCtrlScript

MAY Computer

Help

STRSTRIPFIRSTPART

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

String

See also  

STRSTRIPLASTPART, STRFIRSTPART, STRLASTPART, STRPART, STRPARTS

Retrieve the first part of a string considering the fourth parameter as separation character or separation string respectively and cut off this part from the source string storing the rest into another script variable.

Syntax

[STR]STRIPFIRSTPART <VariableNamePart>, <VariableNameRest>, <Source>[, <Separator>]

Part

Description

<VariableNamePart> Script variable where to store the result (first part of the source string).
<VariableNameRest> Script variable where to store the remaining rest of the source string (with the stripped part cut off).
<Source> Source string to be splitted.
<Separator> Separation character or string. If missing the program tries to find a fitting character like |, /, \, ., ,, ; (the first of these that can be found somewhere in the string is taken).