Function TWPCustomHTMLTag.ParamStringInArray(ParamName:string; Strings:; ExceptionIfNotFound:Boolean; Offset:Integer) : Integer
Unit: WPRTEDefs
Class: WPRTEDefs.TWPCustomHTMLTag
Parameters
ParamName:string Strings ExceptionIfNotFound:Boolean Offset:Integer
Returns
The type of the result value is Integer.
Description
Return the index in a string array or 0 if it was not found or was empty.
Should be used with string arrayes defined
for enum types which also define the first element (=0) as default or undefined.
Optionally this function can trigger an exception if either the
parameter or the value was not found.
if Offset=-1 the first element will not be skipped as "undefined"