Home News DOC Class DL Others Rice
Class  >  jsexecutor  >  IsString(string)
jsexecutor class : IsString(string) method

Description

Returns a value that indicates whether the argument is enclosed in double quotes.

Syntax

instance.IsString(string ret)

Arguments

ClassNameDescription
stringretReturn value from jsexecutor.

Return value

ClassDescription
boolWhether the argument is enclosed in double quotes.

Sample code

1:

string ss = "".DQ + "string" + "".DQ; // "string"

2:

jsexecutor jse;

3:

bool iss = jse.IsString(ss); // true

Notes

All the return values from the JavaScript execution are converted to strings and returned. If the original value is a string, the original value is enclosed in double quotes.

Determines if the original value is a string.

Links for reference

None.

Copyright © Rice All rights reserved.