cherdt / BingoCardGenerator

A bingo card generator
21 stars 10 forks source link

Redundant and/or trailing commas in the word list cause blanks in the generated cards #1

Closed cherdt closed 10 years ago

cherdt commented 10 years ago

E.g. var words = "one,,two,three,"; var list = words.split(',');

List length is now 5: one, [blank], two, three, [blank]