public static function insert($string, array $data, array $options = array()) {
        $options = $options + array(
            'before' => '{',
            'after' => '}',
            'escape' => true
        );

        foreach ($data as $key => $value) {
            $string = str_replace($options['before'] . $key . $options['after'], $value, $string);
        }

        if ($options['escape']) {
            $string = Sanitize::escape($string);
        }

        return $string;
    }