Skip to content

Instantly share code, notes, and snippets.

View nobusue's full-sized avatar

Nobuhiro Sue nobusue

View GitHub Profile
// g100pon #26 文字列を分割してListに変換
assert 'This is a pen'.tokenize() == ['This', 'is', 'a', 'pen']
assert '東京/大阪/名古屋/仙台'.tokenize('/') == ['東京', '大阪', '名古屋', '仙台']