Перейти к содержанию

Ui::getLengthOfLiteralString

Материал из RAGE MP Wiki Archive
Версия от 15:01, 20 мая 2017; imported>StreetGT
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns the length of the string passed (much like strlen).

Syntax

<syntaxhighlight lang="javascript">mp.game.ui.getLengthOfLiteralString(string);</syntaxhighlight>

Required Arguments

  • string: String

Return value

  • int

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also