search str formatting