Tibia Data v0.1.0 Util

Util module containing helpful functions used in the project.

Link to this section Summary

Functions

Function for format string and replace spaces with '+' for url format.

Link to this section Functions

Link to this function

format_string(text)

Function for format string and replace spaces with '+' for url format.

Parameters

  • text (string): Text to be formatted in the url format.

Examples

iex> Util.format_string("Macabra Pune")
"Macabra+Pune"