Javascript [Electronic resources] : The Definitive Guide (4th Edition) نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Javascript [Electronic resources] : The Definitive Guide (4th Edition) - نسخه متنی

David Flanagan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

Availability


JavaScript 1.0; JScript 1.0, ECMAScript v1


Synopsis

string.charAt(n)

Arguments


n

The index of the character that should be returned from
string.


Returns


The nth character of
string.


Description


String.charAt( ) returns the
nth character of the string
string. The first character of the string
is numbered 0. If n is not between 0 and
string.length-1, this method returns an
empty string. Note that JavaScript does not have a character data
type that is distinct from the string type, so the returned character
is a string of length 1.


See Also


String.charCodeAt( ), String.indexOf( ), String.lastIndexOf( )

/ 844