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.
|
|
|
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
|