Sunday, 4 December 2022

Remove 0 form the first mobile number

  while (this.form.mobileNo?.charAt(0) === '0')

      this.form.mobileNo = this.form.mobileNo?.slice(1);

No comments:

Post a Comment

7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...