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

...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

ZAP Utility

...StrToBoolean

true

value

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227