this.spec_weps = { "-", "*", "_", "etc"}; if ( temp.ban.substring( 0, 1) in this.spec_weps) { blah; }