# Length of string

* len

* With the `len` method we can get the length of a string in bytes.

{% embed include file="src/examples/strings/length/src/main.rs" %}
{% embed include file="src/examples/strings/length/out.out" %}


