Method code for $string.valid_ident()

[Turn off line numbering]
  1: arg str;
  2: 
  3: return strsed(str, "[^a-z0-9_]+", "", "g") == str;

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

Tlon