Javascript.RU

toLowerCase

Синтаксис

str.toLowerCase()

Описание, примеры

var upperText="ПриВет"
document.write(upperText.toLowerCase()) // привет

Автор: Гость (не зарегистрирован), дата: 23 января, 2012 - 22:09
#permalink

А слабо дать описание??? Например нужен для этого, используется там-то.


Автор: bopohooo (не зарегистрирован), дата: 30 января, 2015 - 22:22
#permalink

Метод toLowerCase()
Преобразует все буквы в строке к нижнему регистру.
Метод toLowerCase не применяется к знакам, отличным от букв.
В следующем примере демонстрируется действие метода toLowerCase.

var text = "This is a STRING.";
var str = text. toLowerCase();
document.write(str);

// вернет: this is a string.


Автор: Гость (не зарегистрирован), дата: 8 февраля, 2012 - 10:34
#permalink

toLowerCase не работает в ие. Есть ли альтернатива?


Автор: Гость (не зарегистрирован), дата: 21 февраля, 2012 - 10:45
#permalink

Firefox ну или опера


Автор: Сергей П. (не зарегистрирован), дата: 8 января, 2013 - 11:16
#permalink

Проверил toLowerCase(), toUpperCase() в IE7. Всё работает.

Но, если очень нужно, то можно создать такую функцию MyToLowerCase() (аналогично и MyToUpperCase()):

function MyToLowerCase(s){
var t='';
for(var i=0;i


Автор: Сергей П. (не зарегистрирован), дата: 8 января, 2013 - 11:18
#permalink

Проверил toLowerCase(), toUpperCase() в IE7. Всё работает.

Но, если очень нужно, то можно создать такую функцию MyToLowerCase() (аналогично и MyToUpperCase()):

function MyToLowerCase(s){
var t='';
for(var i=0;i<s.length;i++){
  switch(s.charAt(i)){
    case'А':t+='а';break;
    case'Б':t+='б';break;
    case'В':t+='в';break;
    ...
    default:t+=s.charAt(i);
  }
}
return t;
}

Автор: Гость (не зарегистрирован), дата: 12 мая, 2017 - 21:04
#permalink

Можно переписать этот код изящнее:

function toLow(s) {
	var charMap = {
		'А': 'a',
		'Б': 'б',
		'В': 'в',
		'Г': 'г',
		'Я': 'Я'
	};
	var modSt = '';

	for(var i = 0;i < s.length; i++) {
		var str = s.charAt(i);
		if (charMap[str]) {
			modSt += charMap[str];
		} else {
			modSt += str;
		}
  }
  return modSt;
}

Автор: Гость (не зарегистрирован), дата: 14 декабря, 2012 - 18:47
#permalink

возвращает модифицированную строку и/или модифицирует существующую?


Автор: Гость (не зарегистрирован), дата: 28 декабря, 2012 - 14:03
#permalink

javascript не может изменять строки он всегда создает новый экземпляр строки


Автор: bopohooo (не зарегистрирован), дата: 30 января, 2015 - 22:21
#permalink

Метод toLowerCase()
Преобразует все буквы в строке к нижнему регистру.
Метод toLowerCase не применяется к знакам, отличным от букв.
В следующем примере демонстрируется действие метода toLowerCase.

var text = "This is a STRING.";
var str = text. toLowerCase();
document.write(str);

// вернет: this is a string.


Автор: nemr00t (не зарегистрирован), дата: 16 августа, 2016 - 11:41
#permalink

Товарищи, доброго времени суток!
Помогите, пожалуйста! Нужен скрипт для mongodb, который:
1. преобразует значение поля А в нижний регистр;
2. выполнит апдейт поля А, записав туда новое значение (в нижнем регистре).
плиз плиз плиз...


Автор: Гость (не зарегистрирован), дата: 17 июля, 2021 - 16:53
#permalink

what


Автор: Гость (не зарегистрирован), дата: 12 апреля, 2022 - 20:04
#permalink

Автор: Гость (не зарегистрирован), дата: 16 апреля, 2022 - 01:23
#permalink

Автор: Гость (не зарегистрирован), дата: 16 апреля, 2022 - 14:32
#permalink

Автор: agen slot (не зарегистрирован), дата: 9 августа, 2022 - 14:11
#permalink

Yuk Daftar di < a href="https://bpocareerhub.com/">Agen Slot


terbesar dan terpercaya di INDONESIA. Hanya dengan menggunakan 1 ID sudah bisa bertaruh dan bisa memainkan Game Lainnya, seperti SLOT, Poker Dll...
link login:
< a href="https://bpocareerhub.com/">Agen Slot
< a href="https://bpocareerhub.com/">Agen Slot
< a href="https://bpocareerhub.com/">Agen Slot
< a href="https://bpocareerhub.com/">Agen Slot
< a href="https://bpocareerhub.com/">Agen Slot
< a href="https://bpocareerhub.com/">Agen Slot
https://bpocareerhub.com/
https://bpocareerhub.com/
https://bpocareerhub.com/
https://bpocareerhub.com/
https://bpocareerhub.com/
https://bpocareerhub.com/
https://bpocareerhub.com/
https://bpocareerhub.com/
https://bpocareerhub.com/
https://bpocareerhub.com/

Автор: waktogel (не зарегистрирован), дата: 18 января, 2024 - 12:55
#permalink

The newest slots have become one of the main attractions that have made online slot games successful to date. These slots provide a new and interesting playing experience. Additionally, this slot can be played in multiple languages, including English, Indonesian, and Japanese. I really like it, and I look forward to hearing from you next. Thank you for the information about the most popular online games this year. For more detailed information, please visit our website for further information Slot888


Автор: waktogel (не зарегистрирован), дата: 18 января, 2024 - 12:55
#permalink

The newest slots have become one of the main attractions that have made online slot games successful to date. These slots provide a new and interesting playing experience. Additionally, this slot can be played in multiple languages, including English, Indonesian, and Japanese. I really like it, and I look forward to hearing from you next. Thank you for the information about the most popular online games this year. For more detailed information, please visit our website for further information Slot888


Автор: abutogel (не зарегистрирован), дата: 18 января, 2024 - 14:49
#permalink

There are different types of jackpots you can choose from, including fixed, network, multiple and progressive jackpots. Each of them has its own advantages and disadvantages. I really like it, and I look forward to hearing from you next. Thank you for the information about the most popular online games this year. For more detailed information, please visit our website for further information Mezup88


Автор: Aviantogel (не зарегистрирован), дата: 18 января, 2024 - 17:01
#permalink

Gacor slots offer a variety of stylish and entertaining games featuring a variety of different themes and stories. I really like it, and I look forward to hearing from you next. Thank you for the information about the most popular online games this year. For more detailed information, please visit our website for further information 7petir


Автор: Situs slot gacor (не зарегистрирован), дата: 18 января, 2024 - 17:44
#permalink

The Year of Ox online slot game displays the excitement of the year of the ox full of profits. In keeping with the theme, this lucky buffalo will bestow you with the best slot jackpot. I really like it, and I look forward to hearing from you next. Thank you for the information about the most popular online games this year. For more detailed information, please visit our website for further information Laviez


Автор: aviantogel (не зарегистрирован), дата: 22 января, 2024 - 11:34
#permalink

Playing on the Aviantogel site, the world of online dexterity, Pragmatic Play has become one of the most famous game developers. They offer a wide variety of interesting and entertaining slot machines, such as Gates of Olympus, Starlight Princess, Sweet Bonanza, Gates of Gatot Kaca, Gates of Aztec, Monkey Madness, Tree of Riches, and Money Mouse. In this article, we will discuss the algorithm Pragmatic Play slot machines which include odds, jackpots, luck, strategy, winnings and all other interesting aspects. For clearer information, you can visit our website https://cohabitat.us/


Автор: aviantogel (не зарегистрирован), дата: 22 января, 2024 - 11:58
#permalink

Welcome to the PG demo slot site. Are you looking for a site that provides demo slots and demo slots from leading providers such as Pragmatic Play and PG Shot, if you have visited the website https://xf7d.com/


Автор: FUSOTOTO (не зарегистрирован), дата: 23 января, 2024 - 11:07
#permalink

Each Pragmatic Slot List game on the Indonesian Pragmatic Play Gacor slot site, such as the Pragmatic Gacor slot which is easy to win the jackpot from the Fusototo site, of course has a different symbol. Therefore, members must recognize the meaning of each symbol of the Latest Easy to Win Pragmatic Gacor Slot and today's available Pragmatic Gacor slot games. Each image in the Gacor Pragmatic demo slot has a different value, so members can get a big prize if they win playing the Gacor Pragmatic credit deposit slot. For clearer information, you can visit our website https://fwigv.com/fusototo/


Автор: avian togel (не зарегистрирован), дата: 23 января, 2024 - 12:41
#permalink

Each Pragmatic Slot List game on the Indonesian Pragmatic Play Gacor slot site, such as the Pragmatic Gacor slot which is easy to win the jackpot from the AVIAN TOGEL site, of course has a different symbol. Therefore, members must recognize the meaning of each symbol of the Latest Easy to Win Pragmatic Gacor Slot and today's available Pragmatic Gacor slot games. Each image in the Gacor Pragmatic demo slot has a different value, so members can get a big prize if they win playing the Gacor Pragmatic credit deposit slot. For clearer information, you can visit our website https://085457.com/


Автор: login atas4d (не зарегистрирован), дата: 23 января, 2024 - 14:07
#permalink

Atas4d login is the most popular online gaming site that always provides huge profits. Players can follow or directly log in to the most popular slot game site this year. For clearer information, you can visit our website https://yf221.com/


Автор: atas4d (не зарегистрирован), дата: 23 января, 2024 - 15:29
#permalink

The slot gambling here at Atas4D, which can usually only be played on slot machines, is available on the number 1 best and most trusted slot gambling site. Now it can be played anywhere and anytime. Through Indonesian online slot gambling agents, everything is played via one of the small bet online slot gambling websites that has collaborated with publishers of Android online slot gambling games. In Indonesia itself, one of the newest online slot gambling websites has collaborated with various online slot publishers, namely Online Slot Gambling Agents. For clearer information, you can visit our website https://grahamsear.com/


Автор: waktogel (не зарегистрирован), дата: 24 января, 2024 - 14:30
#permalink

With how popular WAKTOGEL's site is, it's no wonder why, over the years, online casinos have seen countless remakes of gem and jewel-themed slot machines. One of the latest releases that introduces something new to this theme is Diamond Strike from Pragmatic Play. Taking a classic style and pushing it beyond its limits, Diamond Strike slot combines the popular style with some of the biggest and best new features in the online casino space. With how popular classic slots are, it's no wonder why, over the years, online casinos have seen countless machines recreate gem and gem-themed slots. One of the latest releases that introduces something new to this theme is Diamond Strike from Pragmatic Play. Taking a classic style and pushing it beyond its limits, Diamond Strike slot combines the popular style with some of the biggest and best new features in the online casino space. For more information, visit us https://akuhoki.org/


Автор: ONLINE995 (не зарегистрирован), дата: 12 февраля, 2024 - 15:43
#permalink

Salah satunya kunci untuk memenangi slot ONLINE995,dengan cari skema permainan yang gacor. Tiap tipe games Pragmatic mempunyai skema tertentu, dan Anda bisa coba menganalisanya. Lihat posisi gabungan permainan, termasuk feature seperti buyspin, dan analitis lambang yang ada di monitor.informasi lebih jelas bisa kunjungin diwebsite kami https://online995.com


Автор: ONLINE995 (не зарегистрирован), дата: 12 февраля, 2024 - 15:43
#permalink

Salah satunya kunci untuk memenangi slot ONLINE995,dengan cari skema permainan yang gacor. Tiap tipe games Pragmatic mempunyai skema tertentu, dan Anda bisa coba menganalisanya. Lihat posisi gabungan permainan, termasuk feature seperti buyspin, dan analitis lambang yang ada di monitor.informasi lebih jelas bisa kunjungin diwebsite kami https://online995.com


Автор: MEME4D (не зарегистрирован), дата: 12 февраля, 2024 - 16:44
#permalink

Banyak situs game slot MEME4D menawarkan berbagai bonus dan promosi kepada pemain mereka. Manfaatkan bonus selamat datang, putaran gratis, atau promosi lainnya yang dapat meningkatkan peluang Anda untuk meraih kemenangan besar. Bonus dan promosi ini dapat menjadi tambahan modal bermain yang sangat berharga.Mereka memiliki berbagai jenis mesin slot dengan tingkat pengembalian kepada pemain (RTP) yang beragam, memberikan pemain banyak pilihan untuk menyesuaikan preferensi mereka. Dengan menggunakan Dana di Slot MEME4D,Anda memiliki peluang yang sangat baik untuk mengumpulkan kemenangan yang menggiurkan.informasi lebih jelas bisa kunjungin diwebsite kami https://nalgonas.org


Автор: TRIBUNTOGEL (не зарегистрирован), дата: 12 февраля, 2024 - 17:48
#permalink

Banyak situs game slot TRIBUNTOGEL menawarkan berbagai bonus dan promosi kepada pemain mereka. Manfaatkan bonus selamat datang, putaran gratis, atau promosi lainnya yang dapat meningkatkan peluang Anda untuk meraih kemenangan besar. Bonus dan promosi ini dapat menjadi tambahan modal bermain yang sangat berharga.Mereka memiliki berbagai jenis mesin slot dengan tingkat pengembalian kepada pemain (RTP) yang beragam, memberikan pemain banyak pilihan untuk menyesuaikan preferensi mereka. Dengan menggunakan Dana di Slot TRIBUNTOGEL ,Anda memiliki peluang yang sangat baik untuk mengumpulkan kemenangan yang menggiurkan.informasi lebih jelas bisa kunjungin diwebsite kami https://heylink.me/daftartribuntogel/


Автор: MEME4D (не зарегистрирован), дата: 13 февраля, 2024 - 15:03
#permalink

Tidak hanya itu pula Kami tentu senantiasa membagikan Data berarti seputar panduan taruhan judi online untuk para pendatang baru semacam Metode Bermain yang Mudah dalam tiap tipe game MEME4D yang telah kami sajikan. Miliki dalam sebuah kemenangan yang sangat besar dengan dalam bermain untuk bersama semua para permainan pirate golden age,Untuk di dalam sebuah permainan pirate golden age yang sudah memiliki 5×3 simbol dengan nuansa bajak laut dari masa-masa dulu .informasi lebih jelas bisa kunjungin diwebsite kami https://nalgonas.org


Автор: MEME4D (не зарегистрирован), дата: 13 февраля, 2024 - 15:32
#permalink

Salah satu MEME4D terpopuler di Indonesia adalah permainan slot Gacor yang sudah lama mendunia di Indonesia. Banyaknya variasi permainan dengan nilai jackpot yang fantastis menjadi keunggulan dari penyedia game slot Gacor. Saya sangat menyukainya, dan saya menantikan kabar dari Anda selanjutnya. Terima kasih atas informasinya mengenai berita terpopuler hari ini di tahun ini. Untuk informasi lebih lengkap, silahkan kunjungi website kami untuk informasi lebih lanjut https://thejulix.com/


Автор: waktogel (не зарегистрирован), дата: 13 февраля, 2024 - 16:58
#permalink

Tidak hanya itu pula Kami tentu senantiasa membagikan Data berarti seputar panduan taruhan judi online untuk para pendatang baru semacam Metode Bermain yang Mudah dalam tiap tipe game WAKTOGEL yang telah kami sajikan. Miliki dalam sebuah kemenangan yang sangat besar dengan dalam bermain untuk bersama semua para permainan pirate golden age,Untuk di dalam sebuah permainan pirate golden age yang sudah memiliki 5×3 simbol dengan nuansa bajak laut dari masa-masa dulu .informasi lebih jelas bisa kunjungin diwebsite kami https://waktogel.wtf/


Автор: ANGSA4D (не зарегистрирован), дата: 17 февраля, 2024 - 15:33
#permalink

The blog content is very good and has many beautiful meanings. Thank you for the blog that is available. Always inspiring many people. All online games ANGSA4D always provide big profits every day.


Автор: IMBAJP (не зарегистрирован), дата: 17 февраля, 2024 - 15:34
#permalink

This blog has very good written content. It has many beautiful meanings so this blog has become popular. Of all the online games IMBAJP , has a lot of excitement when playing it from big profits and so on


Автор: JALANTOTO (не зарегистрирован), дата: 17 февраля, 2024 - 15:35
#permalink

A blog that always provides lots of inspiration every day. Presenting online gaming JALANTOTO services from which always provide excitement and are equipped with big profits.


Автор: ASIABET88 (не зарегистрирован), дата: 17 февраля, 2024 - 15:36
#permalink

The best blog has arrived which always provides many benefits for everyone. From now on I will always visit one of these well-known blogs. The online game ASIABET88 always provides many big benefits.


Автор: HAJAR88 (не зарегистрирован), дата: 17 февраля, 2024 - 15:40
#permalink

All the writing on this blog gives meaning to the existence of beauty. So online games HAJAR88 always bring excitement and big profits every day.


Автор: IMBAJP (не зарегистрирован), дата: 18 февраля, 2024 - 11:40
#permalink

This blog has very good written content. It has many beautiful meanings so this blog has become popular. Of all the online games IMBAJP, has a lot of excitement when playing it from big profits and so on


Автор: WNITOGEL (не зарегистрирован), дата: 18 февраля, 2024 - 11:41
#permalink

There is a blog that always provides many benefits to everyone in terms of knowledge. So all online games WNITOGEL from have many advantages


Автор: JALANTOTO (не зарегистрирован), дата: 18 февраля, 2024 - 11:44
#permalink

A blog that always provides lots of inspiration every day. Presenting online gaming JALANTOTO services from which always provide excitement and are equipped with big profits.


Автор: ANGSA4D (не зарегистрирован), дата: 18 февраля, 2024 - 11:45
#permalink

The blog content is very good and has many beautiful meanings. Thank you for the blog that is available. Always inspiring many people. All online games ANGSA4D always provide big profits every day.


Автор: ASIABET88 (не зарегистрирован), дата: 18 февраля, 2024 - 11:48
#permalink

The best blog has arrived which always provides many benefits for everyone. From now on I will always visit one of these well-known blogs. The online game ASIABET88 always provides many big benefits.


Автор: HAJAR88 (не зарегистрирован), дата: 18 февраля, 2024 - 11:50
#permalink

All the writing on this blog gives meaning to the existence of beauty. So online games HAJAR88 always bring excitement and big profits every day.


Отправить комментарий

Приветствуются комментарии:
  • Полезные.
  • Дополняющие прочитанное.
  • Вопросы по прочитанному. Именно по прочитанному, чтобы ответ на него помог другим разобраться в предмете статьи. Другие вопросы могут быть удалены.
    Для остальных вопросов и обсуждений есть форум.
P.S. Лучшее "спасибо" - не комментарий, как все здорово, а рекомендация или ссылка на статью.
Содержание этого поля является приватным и не предназначено к показу.
  • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
  • Разрешены HTML-таги: <strike> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <u> <i> <b> <pre> <img> <abbr> <blockquote> <h1> <h2> <h3> <h4> <h5> <p> <div> <span> <sub> <sup>
  • Строки и параграфы переносятся автоматически.
  • Текстовые смайлы будут заменены на графические.

Подробнее о форматировании

CAPTCHA
Антиспам
1 + 0 =
Введите результат. Например, для 1+3, введите 4.
 
Поиск по сайту
Содержание

Учебник javascript

Основные элементы языка

Сундучок с инструментами

Интерфейсы

Все об AJAX

Оптимизация

Разное

Дерево всех статей

Последние комментарии
Последние темы на форуме
Forum