ensure_prefix

tollan.utils.ensure_prefix(s, p)[source]

Return a new string with prefix p if it does not.