βοΈ truncateΒΆ
Truncates a string to a given length.
from raito.utils.helpers.truncate import truncate
truncate("Hello, world!", 8) # Returns "Hello..."
Truncates a string to a given length.
from raito.utils.helpers.truncate import truncate
truncate("Hello, world!", 8) # Returns "Hello..."