Delete all non-numc from string

Guys,
I want to remove all non-numeric characters from my string. Basically only want it to contain numbers before I pass it on.
Suggestion?

parameters: ch(10) type c.
data: ch1(1) type c.
data: ty type DD01V-DATATYPE.
data: l type i.
DATA: K TYPE I.
l = strlen( ch ).
k = 0.
while k < l.
  ch1 = ch+k(1).
  CALL FUNCTION 'NUMERIC_CHECK'
  EXPORTING
    STRING_IN        = ch1
IMPORTING
   STRING_OUT       = ch1
   HTYPE            = ty.
  if ty NE 'NUMC'.
ch+k(1) = '#'.
endif.
k = k + 1.
endWHILE.
REPLACE ALL OCCURRENCES OF  '#' in CH with ''.
WRITE: CH.

Similar Messages

  • I deleted all my emails from inbox and trash, but the mail "file" has 2GB. How can I permantely delete this information from my iphone4?

    How can I permantely delete email information from my iphone4?
    I deleted all my emails from inbox and trash, but the Mail "file" still has 2GB...

    Does anyone have an answer to this problem? It's been 4 or 5 days now and iCloud still says I have 0kb of 5GB available, and 6.1GB of mail on iCloud. I guess that's better than yesterday when it said I had 8.3GB of mail. Does anyone know if it simply takes Apple a week to actually empty a mailbox?
    thanks in advance, hopefully tomorrow it says I have only 4GB of non-existent mail and I can start using it again...

  • How can I delete all my mail from my computer, but leave it all on .Mac ?

    How can I delete all my mail ( 3.5 ) on my computer ( original G4 ) but leave it all on the .Mac servers?

    backup the device and restore it as new.
    If you already have or don't need a backup:
    Erase your device
    Erasing all content and settings will delete all the data from your device, including songs, videos, contacts, photos, calendar information, and any other data. All device settings are restored to their factory condition.
    To remove all settings and information from your device, tap Settings > General > Reset > Erase All Content and Settings. For more information about this feature, see iOS: Understanding 'Erase All Content and Settings'.
    If you are unable to erase your device, restore the device using iTunes.
    See: http://support.apple.com/kb/HT4137  for the exact steps.
    Transferring ringtones isn't supported, as far as I know...

  • My iphone storage is full due to my large photo library. As I want to go on taking more photos, if I back up my phone to icloud, can I then delete all my photos from my iphone to make room for new photos?

    My iphone storage is full due to my large photo library. As I want to go on taking more photos, if I back up my phone to icloud, can I then delete all my photos from my iphone to make room for new photos? Or will the next time I back up lose all those previously backed up as it is a 'new' set of data?
    I just want to find the easiest and safest way of not losing all my photos while being able to take more than my iPhones storage worth as it is already full - can someone help me please? I thought icloud was the solution to not uploading my photos to the mac but I'm not sure if the way it's going is working and don't want to delete photos or lose my phone and then find out what I'm doing isn't actually storing my photos permanently. Thanks

    Hey EmilyEliza,
    As you are clearly aware, it is important for you to have backups of your important data, including all of these photos you are currently keeping on your iPhone. While it is possible to use iTunes or iCloud to do backups of your iPhone, the problem becomes how to access those backups if you have deleted the photos from your iPhone. Once you have done the backup and then removed the photos from the iPhone, the only way to access the photos is by restoring the backups to the phone. See this article for information about backups made from the iPhone -
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    If you want to easily access the photos once they are off of the iPhone, another approach to this would be to import your photos from the iPhone into an application on your Mac, such as iPhoto. To learn how to do this, use the steps in this article -
    Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support
    Once those photos are on your computer, it is still important to back up those photos to somewhere else, so you can be sure of their safety before removing them from the iPhone. Your Mac’s Time Machine application is one method of doing this -
    Mac Basics: Time Machine backs up your Mac - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L

  • How can I delete all the music from my iPhone and reinstall it?

    I am trying to delete all the music from my iPhone 5 and reinstall it.  The names of some of the albums and the artists did not import correctly from my CDs.  I went back into iTunes and made corrections, synced my phone and no changes were made to the music on my phone.  And two of the albums (I only have albums, not individual songs) are duplicated on the phone, though they are not in my iTunes library. 
    I have gone into iTunes, selected the device at the top right corner, selected all the music that showed up in the window - gone to the Edit menu, selected "all" and then "delete."  The list of tracks disappears from the device list.  I then synced the phone again, and the albums are still on the phone.  What am I missing, please?  I've even shut the phone down and restarted it, synced it again, but nothing changes. 
    Help, please?

    Follow the instructions here or here; the first set of instructions may require a power source other than a computer's USB port, so you should have one of these before proceeding. Your iPod is a fourth generation model.
    (19638)

  • How can I delete all the email from a user's account?

    I have a user account with a huge amount of mail (around 50K messages) that Apple Mail can't deal with... it constantly hangs and/or crashes whether I use POP or IMAP to try and delete all the mail from the client.
    How can I delete all the mail from the mailbox on the server? I don't want to delete the account entirely, I just want to empty everything out of it.
    Thanks!

    sudo -u _cyrus /usr/bin/cyrus/bin/ipurge -d 0 -f user/mailboxname
    HTH,
    Alex

  • Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    You can hide them via your computer's iTunes : iTunes Store: Hiding and unhiding purchases - Apple Support
    The 'x' might not show on their top left corner (it might be invisible), but clicking where it should be should hide the app.

  • When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    Hi,
    I would suggest you to uninstall Adobe Reader using the cleaner tool and then re-install the latest version.
    Adobe Cleaner Tool:- Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs.
    Latest version of Adobe Reader:- http://get.adobe.com/reader/
    If you still experience the same issue, please share the following information:-
    - Screenshot of Adobe Reader showing printer options
    - Screenshot of Microsoft Word showing printer options
    - Screenshot of control panel- Control Panel\All Control Panel Items\Devices and Printers
    Regards,
    Nakul 

  • I deleted all the music from my itunes library because I thought I had it backed up on an external hard drive. Can I restore the library from my ipod touch?

    I deleted all the music from my itunes library because I mistakenly thought I had it backed up on an external hard drive. Can I restore the library from my ipod touch?

    Maybe here:
    iCloud: Troubleshooting creating backups

  • HT4847 How do I delete all my information from the I-Cloud?

    How do I delete all my information from the I-Cloud?

    Greetings austinfromdellslow,
    Welcome to the Apple Support Communities!
    I understand that you would like to store your purchases movies on an external hard drive. To do this, first you will need to download your purchased content from the cloud to the iTunes library on your computer. 
    Download past purchases - Apple Support
    Once your media folder is complete with the downloaded content, you can move that iTunes media folder to your external hard drive using the information in the attached article below. 
    Move your iTunes Media folder on a Windows PC - Apple Support
    Cheers,
    Joe

  • HT4528 how do I delete all my photos from my phone

    How do I delete all my photos from my phone using my phone?

    Photos on your iPhone that were transferred from your computer via the iTunes sync process cannot be deleted direct from the iPhone. These photos are removed from your iPhone the same way - via the iTunes sync process.
    Photos in the Camera Roll can be deleted direct from the iPhone. With the Camera Roll selected, select the icon at the top right. Select the photos you want to delete followed by selecting the Red delete button at the bottom right.

  • HT201303 I have been lent a ipad and really hate it how do I delete all my info from it before giving it back.

    I have been lent a ipad and really hate it how do I delete all my info from it before giving it back.

    Tap on your id in Settings > Store (Settings > iTunes & App Store if it's on iOS 6) and logout of your account, and then do Settings > General > Reset > Erase All Content And Settings

  • How do I delete all my music from my ipod touch?

    I'm tired of all my songs from my IPOD touch.  I want to delete all the music from it.  How do I do it?

    Go into iTunes and hit Restore. It will blat the Touch.
    http://support.apple.com/kb/HT1414
    Slightly less radical would be to uncheck the "Sync Music" button on the Music tab or choose new songs to sync to it

  • How do I delete all my contacts from my iPod Touch?

    I'm giving my iPod touch to my grandson and want to delete all my contacts from my iPod Touch. These have been synched from Mobile Me (.Mac). I've unchecked the synch contact box in the setting section of iTunes, but the contacts do not get deleted. (Also, I want to be careful not to accidentally delete them from my .Mac contact list in the process.) I successfully removed my music and photos in this manner, but the contacts are not being deleted. Advice would be appreciated.

    Connect the Touch to iTunes and click the Restore button. After the Touch is erased and the OS is re-loaded, you'll have the option to load your last backup or set it up as a new iPod (which is what you want).
    Alternatively, you can simply use the built-in utility. On the Touch go to Settings/Reset/Erase All Content and Settings. That may actually take longer than Restoring though.

  • How do i delete all my contatcs from my iphone

    Hi friends i got my friends I pone.
    I want to remove all of his conatcs and then i want to restore the backup from my Itunes backup.
    cd any one pls let me know how do i delete all the conatcs from this i phone,
    Regards
    Mahesh

    When you connect the iPhone to your iTunes and then restore. Restore from your backup and it takes everything off the iPhone and puts your data on it.

Maybe you are looking for

  • File Download from Secure Site

    Hi , Am trying to download file from secure site. Am reading the file from DB and setting it in reponse. My code woks perfectly in non-secure site. But it doesnt work in secure site. Here is the piece of code am using. Pls help thru this. String file

  • I have a whole history serch panel on the left side of my page, and I don't want it, and can't get rid of it!

    I got this history search panel on the left side of my pages on Mozilla Firefox after downloading the latest updates today. I can't click on it, drag it, or otherwise get it to do anything.....Help!

  • Playbook screens swiping up and down when using charger

    Hi, I am facing an issue with the playbook screens going up and down and opening up icons randomly when I connect the PB to the charger. The random behaviour stops once I remove the charger but again continues if I connect the charger. Let me know th

  • Two computer - 1 ipod

    I read the information for having two computers and one ipod. My question is I sync'd my ipod with my main computer and used it for a few weeks. I wanted to sync it to another computer but when I did I accidently made that one the home computer and l

  • Iphoto and hp475 photosmart

    Hi Just purchased hp 475 and would like to print pix directly from iphoto. Pix will print but the image does not fit the 4x6 photo paper that the printer uses. When I tried the advance tab of the printer menu to try and shrink the image to fit 4x6, t