Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Masking Credit Card Number
//Masking Credit Card Number // ____ _ __ ____ ____ // | _ \ | |/ / |___ \ | _ \ // | |_) | | ' / __) | | | | | // | _ < | . \ / __/ | |_| | // |_| \_\ |_|\_\ |_____| |____/ // //By <Broken Committee> using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { var ccNo = "1234567812345678"; Console.WriteLine("Last 4 characters= xxxx-xxxx-xxxx-{0}", ccNo.Substring(ccNo.Length-4,4)); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Sample code
DateTime change clock
compra de restaurante
单链表
C# - string parsing
Sarah Jayne Dunn OnlyFans photos are lea
Shift Example
condicional "?"
ref variables/parameters
Reverse Number
Please log in to post a comment.