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
-
1:52
wanagraphic22
1 year agoText Clipping Mask | Phothoshop 2023 | Graphic Design
211 -
24:38
tomerbd
3 years agoLeetCode | Medium | 1209 | Remove All Adjacent Duplicates in String II
2 -
16:52
JoshAckland
1 year agoLeetCode in C# | 3. Longest Substring Without Repeating Characters
3 -
1:22
addavid
1 year agoI will do clipping path, mask, background remove image cutout
3 -
6:32
Learn and Grow
1 year agoSQL Server TRIM, LTRIM and RTRIM Function Tutorial
1 -
0:57
Official Lawn Care Nut
9 months ago $0.01 earnedString Trimming Hack
44 -
0:52
ericntunctu
2 years agoLeetcode 1446 Consecutive Characters
7 -
4:56
GuitarControl
1 year agoCombining String Skipping With Sweep Picking
12 -
1:15
Follow me at rumble.com/user/jeffahern
2 years ago $0.01 earnedMask Mandates Part Deux!
3321 -
0:45
Learn with Chi Chi
2 years agoMasking text in Photoshop | Learn Photoshop
49