---
title: Split vector of sentences to vector of words
timestamp: 2024-03-24T23:30:01
author: szabgab
published: true
description: First create a vector of vectors then concatenate the vectors into a single vector of strings.
tags:
    - concat
    - split_whitespace
todo:
    - implement split_to_str that return a Vec<&str>
---

{% include file="examples/vector-of-sentences-to-vector-of-words/src/main.rs" %}

