Method code for $string.explode_list()

[Turn off line numbering]
  1: arg str;
  2: 
  3: if ("," in str || " and " in str)
  4:     return str.explode_english_list();
  5: else
  6:     return str.explode();

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon