How to remove all the blanks in a String

what I mean is that there is any convenient way to help remove the blanks (or carriage returns) in a string

Hi
Remove all blanks (whitespace,carriage return,tabs,etc..) once a time:
string.replaceAll("\\s", "");
Regards.

Similar Messages

  • How to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS

    Dear gurus,
    how to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS
    Arun

    Hi,
    Take a look:
    http://www.morganslibrary.org/reference/pkgs/dbms_audit_mgmt.html
    Regards,

  • TS4147 How to remove all the duplicated contacts from ICloud?

    How to remove all the duplicated contacts from ICloud?

    If your Mac is syncing contacts with your iCloud account, open Contact on your Mac and go to Card>Look for Duplicates, then Merge the found duplicates.  These changes will be synced to iCloud.

  • How to reduce the version of a pdf 1.7 to 1.5 & how to remove all the embedded xml form ?

    Hi Team,
        I am using adobe acrobat x pro. I have a pdf file of version 1.7 which showing embedded xml forms. I tried to remove all the 'embedded xml form' by  using Adobe Live cycle Designer ES2.  Then i tried to reduce the version by using Adobe acrobat x pro but it's still showing that there are some 'embedded xml form' for which it's not allowing me to reduce the vesion of pdf file in Adobe Acrobat x pro and also i want reduce the version of the pdf 1.7 to 1.5. Can you please guide me the step to reduce the pdf file version and how to remove the embedded xml form from the pdf file ?

    If the PDF is the same one from the link in your post here:
    http://forums.adobe.com/thread/1174643
    That PDF being protected may have something to do with why you cannot do what you'd like to.
    Be well...

  • How to remove all the files in a directory

    hi all ,
    am new to unix.. i need to remove all the fine in the directory .
    how can i remove it.. can any one tel me the command..
    i have use rm -f logs(folder name).
    but it is not removing any file ..
    Thanks
    sreedahr

    Hi;
    What is your OS?Which user you are using for delete process, you have w/r permission for your delete process on files
    You can use man rm and can check manuel
    Did you see:
    http://en.wikipedia.org/wiki/Rm_(Unix)
    http://www.cyberciti.biz/faq/howto-linux-unix-delete-remove-file/
    http://www.cyberciti.biz/faq/delete-remove-a-directory-unix-command/
    Pelase check links
    Regard
    Helios

  • How to remove all the users personalization at once?

    Hello,
    I would like to remove all the personalization the users have made in their portal display (for example, theme).
    How do I do it?
    Roy

    Found it under the support section.
    Support->Portal Content Directory->Personalization cleanup

  • How to remove all the printable apps from an HP Photosmart 7520 touchscree​n at once

    In typcial HP fashion, the printer is gummed up with commericals and third party apps I do not want.
    I see how in the ePrint website to delete the apps one by one - which is taking forever....
    Is there a way to remove all the apps from the printer at the same time?
    Thanks...

    Hi there, this thread provides details on how to remove apps from your web connected printer 
    http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mob​ile-Printing-and-ePrintCenter/How-to-add-or-remove​...
    However if you run in to any problems please post back and I'll try and help.
    Best
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • How to reduce the pdf version & how to remove all the pre-delivered field from a pdf file.

    Hi Team,
    1) Please help me to reduce the version of a pdf file which is v1.7 as my BI Publisher support only pdf version  upto Version1.5.
    2)This pdf file 1.7 contains some pre-delivered fields, i want to remove all the pre-delivered fields. Please suggest.
    PFA link:-
    http://www.uscis.gov/files/form/i-539.pdf
    Please guide to remove the pre-delivered fields from this pdf & how to reduce the version.

    A lot depends on what you want to do with the file. The encryption has limited most options on the form. If you are wanting to simply post a view of the form, then you might try a screen capture. Of course there is always the question of what you want to do with the form and any legal aspects related to that use. Other than answering potential legal questions of your use, we might be able to help more if we were aware of the desired use. At the moment, the screen capture is my only suggestion. There may be other work arounds, but probably not appropriate for discussion on this forum.
    If you are wanting the form for publication as an example in some document, I would strongly suggest you contact the gov't agency and discuss your intent and try to get a version you can use with their approval. Overall, that is the cleanest way to do whatever you are after for a legit purpose. Even a graphic version should have the permission of the government agency.

  • How to remove all the fields added to CI_Include in Sap Standard table

    Hi, 
    I have added a new custom field in the CI_include structure in a standard SAP table. However now I want to remove that field but it not allowing me to remove the field as there is no field left in that CI_Include.
    Has anybody tried this before?

    Hi,
    I think you have to delete the whole CI. Go to SE11 enter the name of the CI and press delete.
    Not sure, but maybe this is the solution
    Regards Rudi

  • How to remove # from the end of each lines of .csv file.

    Hi ,
    I have uploaded .csv file from my local m/c (windows) to application server (unix) thru. FM 'ARCHIVFILE_CLIENT_TO_SERVER'
    Issue is when I open the file in AL11 it is showing # at end of each line. Click below link to see the output file.
    [https://docs0.google.com/document/edit?id=1PzjhljdCC2Wgj9L1dZ51G4pHJ0G_7jJwQAMqcJHdggc&hl=en#]
    Pls. help me how to remove all the # from the file.
    Thanks in advance.
    Devinder

    Hi ,
    use this
    Declare this 
    that # value is actually use of   Tab in file 
    so in order to remove that  use below code 
    DATA :C_TAB(1) TYPE c VALUE   cl_abap_char_utilities=>HORIZONTAL_TAB .
    loop at it_data .
    refno = it_data-line .
    REPLACE ALL OCCURRENCES OF c_tab IN refno WITH ''.
    modify it_data .
    endloop.
    Regards
    Deepak.

  • How to remove all transitions?

    I used the automate to sequence with default transition. A few dozens of transitions were added to the sequence.
    How to remove all the transitions without deleting the sequence and starting from scratch please?
    Thanks in advance.

    The difference in file size you are seeing is because you are only using motionless stills in your movies. No motion, and no effects. Some codecs allows for file size reduction by writing first and last frame information for a still, regardless of the length in the video sequence. Why the transition increases file size is because the codec actually has to write info for each frame in the length of the transition.
    This is not going to be the case with anybody working with actual video clips, or if someone adds motion to their stills. The codec then has to write information for every frame, resulting in a larger file size. For most projects, transitions will not make any significant change in file size.

  • How to remove all ALV buttons?

    Hello all.
    Does anyone know how to remove all the ALV buttons?
    I now the IT_EXCLUDING option, but is there a different and
    faster way?
    (I'm using ALV classes).
    Thanks!

    hii..
    All the ALV Toolbar Buttons can be removed in Single Shot.
    There is a method in CL_GUI_ALV_GRID->SET_TOOLBAR_VISIBLE.
    it is protected method create class that is inheriting from CL_GUI_ALV_GRID.
    CALL METHOD ME->set_toolbar_visible
             EXPORTING
               visible = '0'
    *        EXCEPTIONS
    *          error   = 1
    *          others  = 2
           IF sy-subrc <> 0.
    *       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    Set visible to '0' will disable all the buttons.
    Example Program:
    *DATA DECALRATIONS
    TYPES : BEGIN OF ty_sflight,
           carrid TYPE sflight-carrid,
           connid TYPE sflight-connid,
           Fldate TYPE sflight-fldate,
           price TYPE sflight-price,
           currency TYPE sflight-currency,
      END OF ty_sflight.
    DATA : IT_SFLIGHT TYPE TABLE OF TY_SFLIGHT,
            WA_SFLIGHT TYPE TY_SFLIGHT.
    DATA : IT_FCAT TYPE LVC_T_FCAT ,
            WA_FCAT TYPE LVC_S_FCAT.
    data : o_cont type REF TO cl_gui_custom_container ,
            o_grid type REF TO cl_gui_alv_grid.
    CLASS LCL_ALV DEFINITION INHERITING FROM CL_GUI_ALV_GRID.
       PUBLIC SECTION.
         METHODS : M1.
       ENDCLASS.
       CLASS LCL_ALV IMPLEMENTATION.
         METHOD M1.
           CALL METHOD ME->set_toolbar_visible
             EXPORTING
               visible = '0'
    *        EXCEPTIONS
    *          error   = 1
    *          others  = 2
           IF sy-subrc <> 0.
    *       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
         ENDMETHOD.
         ENDCLASS.
       START-OF-SELECTION.
         CALL SCREEN 200.
    *&      Module  STATUS_0200  OUTPUT
    module STATUS_0200 output.
       SET PF-STATUS 'ZDC'.
    *  SET TITLEBAR 'xxx'.
    endmodule.                 " STATUS_0200  OUTPUT
    *&      Module  USER_COMMAND_0200  INPUT
    module USER_COMMAND_0200 input.
    CASE SY-UCOMM.
       WHEN 'BACK'.
         LEAVE TO SCREEN 0.
         ENDCASE.
    endmodule.                 " USER_COMMAND_0200  INPUT
    *&      Module  GET_DATA  OUTPUT
    module GET_DATA output.
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF TABLE IT_SFLIGHT
                                                              UP TO 50 ROWS.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '01'.
    WA_FCAT-fieldname = 'CARRID'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '02'.
    WA_FCAT-fieldname = 'CONNID'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '03'.
    WA_FCAT-fieldname = 'FLDATE'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '04'.
    WA_FCAT-fieldname = 'PRICE'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '05'.
    WA_FCAT-fieldname = 'CURRENCY'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CREATE OBJECT o_cont
       EXPORTING
    *    parent                      =
         container_name              = 'C1'
    .DATA O_ALV TYPE REF TO LCL_ALV.
       CREATE OBJECT O_ALV
       EXPORTING
         I_PARENT = O_CONT.
    CALL METHOD o_ALV->set_table_for_first_display
       CHANGING
         it_outtab                     = IT_SFLIGHT
         it_fieldcatalog               = IT_FCAT
    CALL METHOD O_ALV->M1.  "method called to remove all the toolbar buttons
    endmodule.

  • How to remove all pictures of iPod Touch

    How to remove all the pictures from my iPod Touch 32GB.All the solutions ive tried off the net have failed.

    For photos taken by or saved to the iPod you can delete them by selecting them and then tapping the delete/trash can icon.
    For photos synced to the iPod you need to connect the syncing computer and unsync them
    How to Remove Synced Photos From an iPad | Chron.com
    Or use a third-party program like TouchCopy or PhoneView.

  • Remove all the hidden objects in PDF using acrobat SDK

    Hi Friends
                   How to remove all the hidden objects in PDF using acrobat sdk 11

    Sorry if I re open this old thread, but I am interested in the 'Remove Hidden Information' command.
    Which is the AVCommand to run this feature?
    Thanks

  • My Macbook pro was stolen 09/12, the police just returned it to me. I want to remove all the data and start over. Format the drive's etc. I have windows 7 on 1 partion and mountain lion OSX on the apple partition. How is the best way to do this?

    My Macbook pro was stolen 09/12, the police just returned it to me. I want to remove all the data and start over. Format the drive's etc. I have windows 7 on 1 partion and mountain lion OSX on the apple partition. How is the best way to do this?

    Have a look here...
    what-to-do-when-your-hard-drive-is-full.html

Maybe you are looking for

  • Amazing the little things that are missed

    I admit, it's the little conveniences that I miss in 6.0. I miss being able to play a file before opening it.  Helpful when you have a mass of sound effects to choose from.  Leaves01, Leaves03, Leaves03.  (Yes, you can do that through right-click and

  • Hiding button in notification Page.

    Hi All, I have to hide the 'Approve' button from Notification Page. Is it possible to do it? Pl. help. Thanks in Advance. Regards Mano

  • Applications menu empty after mmc change

    Hi I own a 6300 (latest firmware) when it comes out of the package, the phones got the "Games" and "Collection" folders on an 128 MB memory card. 128 MB stink so I got myself another one. I copied the games and applications with the pc suite to the p

  • More Permissions Issues

    I have been experiencing a multitude of permissions issues on my XServe/RAD as of late. When I try to copy a file to my RAID I get an error message that reads: "You cannot copy some of these items to the destination because their names are too long f

  • Client level setting and company code level setting

    Hi Friends, Can you tell me the client level settings and company code level settings in Configuration and master data? Ex : Material type configuration - client level Thanks in advance Rgds Madhavan