You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
204 B
Crystal
8 lines
204 B
Crystal
5 years ago
|
module RecordHelpers
|
||
|
def self.clean_record(record : String) : Array(String)
|
||
|
tokenized_record = record.split(" ")
|
||
|
tokenized_record = tokenized_record.reject { |s| s == "" }
|
||
|
tokenized_record
|
||
|
end
|
||
|
end
|