FormattedToString Method

The FormattedToString method removes the formatting of a string. It returns the unformatted string. It uses the following syntax:

FormattedToString(type,value,format) 

where:

  • type is a string that identifies the value type of the string. For example: Phone, Currency, DateTime, or Integer.

  • value is a string that identifies the formatted value of the string.

  • format is a string that identifies the optional format of the string.

For example:

SiebelApp.S_App.LocaleObject.FormattedToString("date","11/05/2012","M/D/YYYY")