// console.log("Hello world");

let email = "davidaster007@gmail.com";

// console.log(email);

// let firstName = "David";
// let lastName = "Aster";
// let fullName = firstName + " " + lastName;

// alert(fullName)

// console.log(fullName[0]);

// console.log(fullName.length);
// console.log(fullName.toUpperCase());
// console.log(fullName.toLowerCase());

// let result = email.toLowerCase();

// console.log(email.indexOf('@'));
// console.log(email.lastIndexOf("a"));
// console.log(email.slice(0, 6));

// result = email.substring(0,6);
// result = email.substr(0,6);
result = email.replace("a","o");
console.log(result)


