# substr



{{< badge >}}Function{{< /badge >}}

Arg | Description | Type
----|-------------|-----
str|The string to shorten|string (required)
start|Beginning index of substring|int
end|End index of substring|int
### Description

Create a substring from a string

If start is not provided, the beginning of the string is used.
If end is not provided, the end of the string are used.



