Using attributed strings