JavaScript দিয়ে যেকোনো টেক্সট কেইসকে লোয়ার কেসে কনভার্ট করার পদ্ধতি শিখুন।
যেকোনো স্ট্রিংকে লোয়ারকেসে কনভার্ট করতে আপনি JavaScript-এর toLowerCase() মেথড ব্যবহার করতে পারেন:
let someText = "Here is some text. Let us convert it all to lowercase" someText.toLowerCase() console.log(someText.toLowerCase()) // here is some text. let us convert it all to lowercase toLowerCase() একটি নতুন স্ট্রিং রিটার্ন করে, অর্থাৎ এটি আসল স্ট্রিংকে মিউটেট (বদলায়) না।