Fortinet white logo
Fortinet white logo

Script Reference Guide

table_to_string(t)

table_to_string(t)

Returns the table in a string.

Syntax

table_to_string(t);

Arguments

Name Description

t

The table which specifies the information.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
t={};
t[1]=97;
t[2]=98;
t[3]=99;
t[4]=1;
str = table_to_string(t);
debug(“str is %s\n”, str)
}
Result:
str is abc

Supported Version

FortiADC version 4.8.x and later.

table_to_string(t)

table_to_string(t)

Returns the table in a string.

Syntax

table_to_string(t);

Arguments

Name Description

t

The table which specifies the information.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
t={};
t[1]=97;
t[2]=98;
t[3]=99;
t[4]=1;
str = table_to_string(t);
debug(“str is %s\n”, str)
}
Result:
str is abc

Supported Version

FortiADC version 4.8.x and later.