Skip to content

Commit e36142d

Browse files
i have solved more of the problem and included here
1 parent 59fa0b9 commit e36142d

File tree

78 files changed

+359
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+359
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
১. একটা স্ট্রিং বানা city, যার মান হবে Chattogram এবার indexOf দিয়ে বের কর, g কোন ইনডেক্সে আছে।
3+
*/
4+
const city = 'Chattogram'
5+
console.log(city.indexOf('g'));
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
২. একটা স্ট্রিং বানা division, যার মান হবে Sylhet! includes দিয়ে দেখ, এই স্ট্রিংয়ের মধ্যে y আছে কি না।
3+
*/
4+
const division = 'Sylhet'
5+
console.log(division.includes('y'));
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
৩. const name = 'Rifat'; স্ট্রিংয়ের শেষ ক্যারেক্টার বের কর।
3+
*/
4+
const name = 'Rifat'
5+
console.log(name[name.length - 1]);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
৪. একটা স্ট্রিং বানা language, যার মান হবে javascript এবার indexOf দিয়ে চেক কর, rip কোন ইনডেক্সে শুরু হয়েছে।
3+
*/
4+
const language = 'javascript'
5+
console.log(language.indexOf('rip'));
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
৫. const text = 'Immutable'; স্ট্রিংয়ের দৈর্ঘ্য বের কর এবং চেক কর এটি mutable কি না
3+
*/
4+
const text = 'Immutable'
5+
console.log(text.length);
6+
7+
console.log(text[0] == 'i');
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
২. একটা ই-মেইল আছে const email='User@Example.Com' -ই-মেইলকে ছোট হাতের অক্ষরে কনভার্ট কর।
3+
*/
4+
const email = 'User@Example.Com'
5+
console.log(email.toLowerCase());
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
2. const greeting = 'hello WoRLd' এই স্ট্রিং পরোটা বড় হাতের অক্ষরে এবং ছোট হাতের অক্ষরে কনভার্ট করে দেখ।
3+
*/
4+
const greeting = 'hello WoRLd'
5+
const makeUppercase = greeting.toUpperCase()
6+
const makeLowercase = greeting.toLowerCase()
7+
console.log(makeUppercase, makeLowercase);
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
৩. কেইস ইগনোর করে চেক কর const language = 'JavaScript'; এর মধ্যে scripet আছে কি না।
3+
*/
4+
const language = 'JavaScript';
5+
const checkText = 'script';
6+
const isIncludes = language.toLowerCase().includes(checkText.toLowerCase());
7+
console.log(isIncludes);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
8. const text = 'NodeJs'; এই স্ট্রিংয়ের প্রথম ক্যারেক্টার বড় হাতের কি না. তা চেক কর।
3+
*/
4+
const text = 'NodeJs'
5+
const isFirstUpperCase = text[0] === text[0].toUpperCase()
6+
console.log(isFirstUpperCase);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
১. তোর একগাদা বন্ধুর নাম তোকে একটা স্ট্রিং আকারে দিছে 'Raju, Rana, Hasan, Kabir, Mahi' এদের নামগুলো আলাদা বের করে একটা অ্যারে বানিয়ে ফেল।
3+
*/
4+
5+
const names = 'Raju, Rana, Hasan, Kabir, Mahi'
6+
console.log(names.split(0));

0 commit comments

Comments
 (0)