aayushi-droid/Edabit-Solutions

Maskify the String

Hackerbone opened this issue · 3 comments

Before jumping into Pr first comment for assign.

Problem statement : Create a function that takes a string, transforms all but the last four characters into "#" and returns the new masked string.

Examples:
maskify("4556364607935616") ➞ "############5616"
maskify("64607935616") ➞ "#######5616"
maskify("1") ➞ "1"
maskify("") ➞ ""

Probelm Link : https://edabit.com/challenge/2MAr9P4TTGooXS8Xa
Choose one Cateorgy - Easy
question category : String manipulation


Before submitting a PR please Check some details.

  • fileName formet should be in camelcase
    example- returnTheNextNumber.py
  • Choose label for Problem , example- "good first issue", "easy"
  • In file there should be problem statement and link to problem
/* Problem-Task : This program will add two numbers
 * Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
*/
int main() {
    int bla;
    return 0;
}

This repository is vaild for HacktoberFest2020

Read before making PR - How to contribute on Github
Good Luck,

Please assign me this task. @aayushi-droid

Can you assign this to me? I would like to do it in C++

@aayushi-droid sent a PR , pls merge