common, namespace, convert, boolean, str, string, scriptless, script-less, scripted, step, view, stepview

Method Zap.Common.ConvertStrToBoolean

Converts String into Boolean value

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.Common.ConvertStrToBoolean ( 
	String StringValue
)

ZAP Utility

ZAP Utility step

...StrToBoolean

true

output

StringValue

Output Parameter

Parameters

StringValue

Type: String

String Parameter

Returns

Boolean value

Example

VBScript

booleanValue = Zap.Common.ConvertStrToBoolean("True")

JavaScript

var booleanValue = Zap.Common.ConvertStrToBoolean("true");

Comment

Convert value to boolean and save it to variable parameter

Script-Less next step

ZAP Utility

ZAP Utility step

...StrToBoolean

true

value

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552