Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$STRIP^XLFSTR(): Strip a String

Reference Type: Supported, Category: String Functions, ICR#: 10104

Description

The $$STRIP^XLFSTR extrinsic function returns a string stripped of all instances of a specified character.

Format

  $$STRIP^XLFSTR(x,y)

Input Parameters

x:

(required) Character string.

y:

(required) The character to strip out of the string.

Output

returns:

Returns the string stripped of specified character.

Examples

Example 1

>S X=$$STRIP^XLFSTR("hello","e")

>W X
hllo

Example 2

>S X=$$STRIP^XLFSTR("Mississippi","i")

>W X
Msssspp