Become a bot service provider with the Bot Libre Cloud Bot Platform

** Server is current under maintenance, any changes will be lost **

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: 324, today: 2, week: 2, month: 13
I'm sure
Flag post as offensive, or in violation of site rules