Join Bot Libre's Partner and Affiliate program and support our free open platform
Self, AIML, and scripting : star (parameter with space or dash)

RE: star (parameter with space or dash)

by admin posted Mar 22 2018, 13:43

To access * wildcards from a pattern use the "star" variable. For multiple stars this will be an array.

i.e.
var brand = star[0];
var series = star[1];
var year = star[2];

The star will be the whole string fragment matched to the wildcard.


Id: 21407646
Posted: Mar 22 2018, 13:43
Replies: 0
Views: 348, today: 1, week: 1, month: 12
I'm sure
Flag post as offensive, or in violation of site rules