Prelude.String

Functions operating on strings.

Source

Summary

is_integer?(str)

Checks if a string is the string representation of an integer

to_int(y)

Safely convert strings to integers

Functions

is_integer?(str)

Checks if a string is the string representation of an integer

Source
to_int(y)

Safely convert strings to integers

Leaves integers alone, and defaults to 0 on error

Source