StripOffHTMLTags
Syntax
StripOffHTMLTags(HTML_text)
Description
Use the StripOffHTMLTags function to strip all HTML tags in an HTML-formatted string. The function removes all tags in the form of â<text>â and returns plain text.
If the HTML string was generated by a rich text editor, any â<â and â>â ...
Substitute
Syntax
Substitute(source_text, old_text, new_text)
Description
Use the Substitute function to replace every occurrence of a substring found in a string with a new substring. To replace text that occurs in a specific location in a text string use the Replace function.
Parameters
Field or Control |
Definition |
---|---|
source_text |
A String ... |
Substring
Syntax
Substring(source_str, start_pos, length)
Description
Use the Substring function to extract a substring of a specified number of characters beginning at a specified location in a source string. If the string contains Unicode non-BMP characters, each code unit of the surrogate pair is counted as a separate character, care ...
Substringb
Syntax
Substringb(source_str, start_pos, length)
Description
Note: This function has been deprecated and is no longer supported.
SwitchUser
Syntax
SwitchUser(UserID, Password, AuthToken , ExtAuthInfo)
Note: Password is not encrypted: it is passed as a string.
Description
Use the SwitchUser function to change the user ID of the current user logged onto the PeopleSoft system.
Note: SwitchUser changes the Portal user rather than the content specific user. This means ...
SyncRequestXmlDoc
Syntax
SyncRequestXmlDoc(&XmlDoc, Message.MessageName [, Node.NodeName])
Description
Use the SyncRequestXmlDoc function to send a synchronous message that is based on an XmlDoc object.
Note: This function has been deprecated and remains for backward compatibility only. Use the IntBroker class SyncRequest method instead.
See .
The XmlDoc object must already be ...
Tan
Syntax
Tan(angle)
Description
Use the Tan function to calculate the tangent of the given angle (opposite / adjacent).
Parameters
Field or Control |
Definition |
---|---|
angle |
A value in radians. |
Note: In theory, values of angle such that angle mod pi = pi/2 are not valid for this function, because inputs approaching ...
Then
Description
Use the Then keyword in an if block. See for more information.
throw
Syntax
throw expression
Description
Use the throw statement to throw an exception. This can be used to create your own exceptions, instead of using ones generated by the system.
Parameters
Field or Control |
Definition |
---|---|
expression |
Specify the exception object that you want to throw. This can either be an already ... |
Time
Syntax
Time(n)
Description
Use the Time function to derive a Time value from a Number value. Use it to assign values to Time fields and variables, since Time values cannot be directly represented as constants.
Parameters
Field or Control |
Definition |
---|---|
n |
A Number in the form HHMMSS[.SSSSSS], representing ... |