Логин:   Пароль:




Новости
Рассылки
Форум
Поиск


Java
- Апплеты
- Вопрос-ответ
- Классы
- Примеры
- Руководства
- Статьи
- IDE
- Словарь терминов
- Скачать

Мобильная Java
- Игры
- Примеры
- Статьи
- WAP, WML и пр.

JavaScript
- Вопрос-ответ
- Примеры
- Статьи

Веб-мастеринг
- HTML
- CSS
- SSI

Разминка для ума
Проекты
Книги
Ссылки
Программы
Юмор :)




Rambler's Top100

Мобильная Java: WAP, WML и прочееФункции библиотеки String

Функции библиотеки String

String Library Functions
There are 16 string functions included in the String library, allowing you to do everything from counting the elements in an array to finding and replacing all occurances of substrings. I've included full descriptions here only of the functions used in my examples. For a complete listing of the functions, see the WMLScript Standard Libraries Specification and start reading on page 23.
elementAt Syntax: String.elementAt(string, index, separator); Returns the indexth element of the array string, where each element in the array is separated by separator. replaceAt Syntax: String.replaceAt(string, index, separator); Returns the indexth element of the array string, where each element in the array is separated by separator. format Syntax: String.format(format, value); Converts value to a string with format specified by format. format has the form: % [width] [.precision] type where:
width specifies the minimum number of characters printed
precision depends on type
type can be "d" for integer output, "f" for floating point output, or "s" for string.


Генри Бекет
"Java SOAP для профессионалов"
Подробнее>>
Заказать>>


Сергей Дунаев
"Java для Internet в Windows и Linux"
Подробнее>>
Заказать>>

Узнай о чем ты на самом деле сейчас думаешь тут.


[an error occurred while processing this directive]



Apache Struts 2.0.11
Apache MyFaces Trinidad Core 1.2.3.
Sun переводит мобильные устройства с Java ME на Java SE
Хакерская атака!