AppCtrlScript

MAY Computer

Help

LEFTSIDE

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

String

See also  

RIGHTSIDE, LEFT, RIGHT, MID, STRPART, STRTAGCONTENT

Searches for the first occurrence of the specified separation string and returns the left part (the string until the occurrence of the separation string). The separation string will not be included in the result.

Syntax

LEFTSIDE <VariableName>, <String>[, <SepStr>] 

Part

Description

<VariableName> Name of the script variable where to store the result.
<String> Source string.
<SepStr> Optional substring that separates the different items. If missing the program tries to find a fitting character like |, /, \, ., ,, ; (the first of these that can be found somewhere in the string is assumed to be the separation character).