Premium Only Content

Mask a portion of string in repeat with given character in Laravel PHP ( #shorts )
Hi Friends,
Mask a portion of string in repeat with given character in Laravel PHP
`Str::mask()` method is used to mask a portion of a string in repeat with given character. which helps in hiding full information for any particular value like email, phone etc.
Even you use a negative number as the third argument to the mask method, which will make mask method to begin masking at the given distance from the end of the string.
use Illuminate\Support\Str;
$string = Str::mask('tayson@exampledomains.com', '*', 3);
// tay**********************
$string = Str::mask('tayson@exampledomains.com', '*', -22, 3);
// tay***@exampledomains.com
#php #laravel #phplaravel #laravelmask #mask #single #instance #string #maskvalue #maskstring #maskemail #maskphone #javascript #string #javascriptstring #javascriptlearning #javascriptinterview #javascriptstringfunctions #stringfunctions #interview #interviewquestionsandanswers #question #answer #questionanswer #questionandanswer #shorts #trending #trend #popular #method #function #shorts #shortsfeed #shortvideo #short #shortsviral #viral #viralshort #viralvideo #viralshorts #chatgpt #openai #gpt3 #gpt4 #chatgpt4 #chatgpt3 #gta6 #princecheema_official @princecheema_official
-
LIVE
Steven Crowder
2 hours ago🔴Congress Drops New Epstein Files and Trump Drops New Bombs on Venezuela Terrorists
57,896 watching -
LIVE
The Rubin Report
1 hour agoCNN Host Actually Thought She'd Outsmarted Shapiro, Until He Asked This
1,501 watching -
1:02:00
VINCE
3 hours agoThe Left's Demented Fantasies Shatter | Episode 117 - 09/03/25
135K40 -
DVR
Nikko Ortiz
1 hour agoLive - Reaction Time, News, Politics, and More!
4.83K -
LIVE
LFA TV
4 hours agoLFA TV ALL DAY STREAM - WEDNESDAY 9/3/25
4,951 watching -
LIVE
MYLUNCHBREAK CHANNEL PAGE
2 hours agoHistory’s Most SHOCKING Claims?
423 watching -
LIVE
Caleb Hammer
2 hours agoThe First LGBT Divorce On Financial Audit
117 watching -
LIVE
Badlands Media
1 hour agoBadlands Daily: September 3, 2025 (#2)
3,315 watching -
LIVE
Jim Jordan
1 hour agoEurope’s Threat to American Speech and Innovation
483 watching -
LIVE
The State of Freedom
5 hours agoFLF: #16 Delivering the Truth Comes at a Cost w/ Joe Hoft
15 watching