Class pvr.controller.value.utils.StringUtil

Provides conversion and comparison methods for values of type "string".
Defined in: <pvr\controller\value\utils\StringUtil.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
compareString(value1, value2)
Compares two strings values.
 
stringToString(value, settings)
Converts a string value to string value as specified by the settings.

Constructor Detail

pvr.controller.value.utils.StringUtil()

Method Detail

compareString(value1, value2)

Compares two strings values.
Parameters:
value1
The first value.
value2
The second value.
Returns:
0 if value1 and value2 are equal, -1 if value1 is less than value2, or 1 if value1 is greater than value2.

stringToString(value, settings)

Converts a string value to string value as specified by the settings.
Parameters:
value
The value.
settings
The settings.
Returns:
The converted value.