Format escape string Table 89 describes the arguments for the Convert Special

Format escape string table 89 describes the arguments

This preview shows page 163 - 166 out of 334 pages.

Format escape( string ) Table 89 describes the arguments for the Convert Special Characters to URL method. Usage The character combinations include Unicode values. For a character in the standard ASCII set, this is the hexadecimal ASCII code of the character preceded by a percentage symbol (%). The standard ASCII set includes decimal values 0 through 127. The following items remain in the string: Uppercase letters Lowercase letters Numbers Ampersand (@) Asterisk (*) Plus sign (+) Underscore (_) Period (.) Forward slash (/) Table 89. Arguments for the Convert Special Characters to URL Method Argument Description string A string that contains the characters that this method replaces.
Image of page 163
Siebel eScript Language Reference Version 8.1, Rev. A Methods Reference Conversion Methods 164 This method replaces other characters with their respective Unicode sequence. Example 1 The following example encodes a string. It does not replace the ampersand (@) or asterisk (*) characters: var str = escape("@#$*96!"); This example provides the following result: "@%23%24*96%21" Example 2 The following example encodes a string: var encodeStr = escape("@#$*%!"); This example provides the following result: "@%23%24*%25%21" Convert Unicode to ASCII Method The Convert Unicode to ASCII method converts Unicode character combinations that exist in a string to equivalent ASCII characters. It returns the revised string. Format unescape( string ) Table 90 describes the arguments for the Convert Unicode to ASCII method. Example The following example displays the string in the argument. The Convert Unicode to ASCII method converts the Unicode character combinations to printable characters. The %20 is the Unicode representation of the space character. The following example normally displays on a single line because a new line cannot break a string: TheApplication().RaiseErrorText(unescape(" %20%20showcat.html?catid=%232029 rg=r133")); Table 90. Arguments for the Convert Unicode to ASCII Method Argument Description string A string literal or string variable that contains the Unicode character combinations that this method converts.
Image of page 164
Methods Reference Conversion Methods Siebel eScript Language Reference Version 8.1, Rev. A 165 This example produces the following result: showcat.html?catid=#2029 rg=r133 Convert Value to Boolean Method The Convert Value to Boolean method converts a value to the Boolean data type. It returns a value that depends on the data type of the value that the value argument contains. This method is unique to Siebel eScript. For more information, see “Make Sure the JavaScript Interpreter Can Run a Function” on page 59 . Format ToBoolean( value ) Table 91 describes the arguments for the Convert Value to Boolean method. Values That the Convert Value to Boolean Method Returns Table 92 describes the values that the Convert Value to Boolean method returns.
Image of page 165
Image of page 166

You've reached the end of your free preview.

Want to read all 334 pages?

  • Summer '16
  • Oracle
  • Type system, Siebel, Siebel eScript

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors