1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/strmask-lets-you-mask-a-portion-of-a-string-with-a-character-eg.md
2022-12-01 12:24:35 +01:00

11 lines
497 B
Markdown

---
title: '`Str::mask()` lets you mask a portion of a string with a character (e.g. *)'
tweet_id: '1596508370952855553'
thread_slug: weekly-thread-2022-35
author_username: PovilasKorop
images:
- 'https://pbs.twimg.com/media/FhCmZ9IX0AAiTED.jpg'
created_at: 2022-11-26T14:17:11+00:00
slug: strmask-lets-you-mask-a-portion-of-a-string-with-a-character-eg
---
Laravel tip. From Laravel 8.69, there's a "Str::mask()" method which masks a portion of the string with a repeated character like "*".