Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Workspace PL/I Compilers
Created by Guest
Created on Jun 7, 2017

STRIPOUT Builtin Function

Feel free to come up with a better name.

It should delete user specified characters from a string. Pass in the string, pass in the characters to delete, return the cleaned up string. The second argument should be processed not as a whole, but character by character.

MYSTRING = 'PHILADELPHIA, PA 19101'

NEWSTRING = STRIPOUT(MYSTRING,'0123456789')

The value of NEWSTRING is now 'PHILADELPHIA, PA'

MYSTRING = 'PHILADELPHIA, PA 19101'

NEWSTRING = STRIPOUT(MYSTRING,' ,ABCDEFGHIJKLMNOPQRSTUVWXYZ')

The value of NEWSTRING is now '19101'

MYSTRING = 'PHILADELPHIA, PA'

NEWSTRING = STRIPOUT(MYSTRING,' ')

The value of NEWSTRING is now 'PHILADELPHIA,PA' (Yes, I know we cleaned ourselves right out of a space after the comma, but that's easy enough to re-insert.)

MYSTRING = 'ADDRESS$@ Line 2%'

NEWSTRING = STRIPOUT(MYSTRING,'!@#$%^&*()_-+=[{]}\|:;<>?')

The value of NEWSTRING is now 'ADDRESS LINE 2'

MYSTRING = 'P.O. BOX #1000'

NEWSTRING = STRIPOUT(MYSTRING,'.#')

The value of NEWSTRING is now 'PO BOX 1000'

Idea priority Low
  • Guest
    Reply
    |
    Jan 3, 2019

    Delivered in V5R2M4 as SCRUBOUT

  • Guest
    Reply
    |
    Aug 20, 2018

    We will probably call it scrubout

  • Guest
    Reply
    |
    Jun 30, 2017

    we would probably want to use a different name for this