Basic string compression