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
-
4:13:56
Alex Zedra
5 hours agoLIVE! VERDANSK!!!!!
55.1K3 -
LIVE
SpartakusLIVE
15 hours ago24 HOUR STREAM w/ The MACHINE on Verdansk
1,360 watching -
4:34:57
SoundBoardLord
6 hours agoR.E.P.O. Thriller Thursday with Friends!! ROUND 2
23.6K2 -
2:08:13
BrancoFXDC
4 hours ago $4.19 earnedBack to VERDANSK We Go!
25.9K -
5:03:10
Pepkilla
8 hours agoTime to Party Verdansk
19.1K4 -
4:55:48
iCheapshot
5 hours ago $5.90 earnedWhere We Landing Boys! | Warzone Verdansk is Back Yeerrr
50.9K3 -
1:11:15
Savanah Hernandez
7 hours agoIt’s Time To Start Asking Hard Questions: Where Are The Arrests?
59.2K115 -
2:57:33
TimcastIRL
6 hours agoTrump Tariffs Spark Global PANIC, Countries BEG Trump, CAVE To His Demands | Timcast IRL
211K189 -
1:37:16
Roseanne Barr
8 hours ago $29.99 earnedThe Man Who Saved America | The Roseanne Barr Podcast #93
89.7K49 -
10:49:37
Dr Disrespect
15 hours ago🔴LIVE - DR DISRESPECT - WARZONE - OG VERDANSK
231K29