Module strings

Source
Expand description

Modules categorized by Codewars labels - 8kyu *** Strings ***

Functions§

boolean_to_string
Implement a function which convert the given boolean value into its string representation.
remove_char
Your goal is to write a function that removes the first and last characters of a string. You’re given one parameter, the original string. Important: Your function should handle strings of any length ≥ 2 characters. For strings with exactly 2 characters, return an empty string.