Namespace idx.lang

Provides convenient functions for string and number.
Defined in: <idx\lang.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
<static>  
idx.lang.endsWith(all, part)
Tests whether a string ends with a suffix or not.
<static>  
idx.lang.equalsIgnoreCase(s1, s2)
Compares two strings ignoring case.
<static>  
idx.lang.getByteLengthInUTF8(s)
Obtains the number of bytes for a UTF-8 encoded string
<static>  
idx.lang.isNumber(n)
Tests whether the parameter is Number or not.
<static>  
idx.lang.startsWith(all, part)
Tests whether a string starts with a prefix or not.

Constructor Detail

idx.lang

Method Detail

<static> {Boolean} idx.lang.endsWith(all, part)

Tests whether a string ends with a suffix or not.
Parameters:
{String} all
{String} part
Returns:
{Boolean}

<static> {Boolean} idx.lang.equalsIgnoreCase(s1, s2)

Compares two strings ignoring case.
Parameters:
{String} s1
{String} s2
Returns:
{Boolean}

<static> {Number} idx.lang.getByteLengthInUTF8(s)

Obtains the number of bytes for a UTF-8 encoded string
Parameters:
{String} s
Returns:
{Number}

<static> {Boolean} idx.lang.isNumber(n)

Tests whether the parameter is Number or not.
Parameters:
{Number} n
Returns:
{Boolean}

<static> {Boolean} idx.lang.startsWith(all, part)

Tests whether a string starts with a prefix or not.
Parameters:
{String} all
{String} part
Returns:
{Boolean}