To remove space between a string

Hi all,
Please help me to solve this.
I have a String "Your current options"
i want to remove all the blank spaces in between the string
The final string should be "Yourcurrentoptions"
Please respond..

Please dont double post, its considered rude.
Mel

Similar Messages

  • Removing spaces between characters using a loop

    How can I remove spaces between characters using a loop? I made a program that tests the validity of a social insurance number. However, I'd like to be able to remove the spaces in the input if the users sepeates their SIN using spaces. example (123 456 789 becomes 123456789)
    Thank you
    Edited by: umhodzic on Feb 10, 2008 2:43 PM

    umhodzic wrote:
    Thank you for your response. However, the procudre must be done using a loop.It doesn't have to be done using a loop, as already shown. However if you have some ignorant person telling you you have to have a loop, then here's a solution that uses a loop:String s = "123 456 789";
    while (s.contains(" ")) {
      s = s.replaceAll(" ", "");
    }

  • Delete white spaces between two strings

    hi!
    How do I remove white spaces between two strings. I have attached file for reference.
    Thanks
    Attachments:
    untitled4.JPG ‏62 KB

    You first need to define what you consider to be "whitespace". Is it just a space? Is it spaces and linefeeds? What about carriage returns? Tabs? Anything non-alphabetic and/or non-numeric?
    As mentioned previously, the Search and Replace String can be used to delete characters by wiring an empty string to the replace string input. The following, for example, will delete all spaces:
    If you need to delete other whitespace characters, just call it again on the resulting string.
    Message Edited by smercurio_fc on 06-02-2008 09:25 AM
    Attachments:
    Example_VI1.png ‏3 KB

  • Removing Space Between Web Parts causes Horizontal Bar in Modals

    Hello all,
    I used the following to remove space between Web Parts, but am now getting a horizontal bar in my modals. Please assist:
    http://www.ashokraja.me/tips/How-To-Remove-Extra-Space-Around-the-Web-Part-In-SharePoint-2013
    Thanks!
    Kelly
    Personal Blog: http://thebitsthatbyte.com

    I removed it using the following CSS, which aligns our spacing:
    Control spacing between Web Parts*/
    .ms-webpart-cell-vertical
    margin-top:
    0px;
    margin-bottom:
    0px;
    Personal Blog: http://thebitsthatbyte.com

  • How to remove space between pages in Oracle Reports 6i?

    Hi,
    I have customized one oracle report (rdf). Earlier, the standard report was showing the ouput in pages i.e. there exists space beteen the pages. But I want my custom report in such a way that it should show me the result in one page i.e. there should be no space between the pages as user wants to spool the output into excel sheet (xls format) after getting the result output obtained from my custom report. Presently, when i spool the data into excel sheet, there is still the space exists between the pages like...few records will come then white space...then records.
    How can I remove this space, so that user can easily spool the data into excel without existence of white space.
    Any sort of help on this will be highly appreciated.
    Thanks & Regards,
    Sumir Chawla
    Edited by: Chawla on Jan 4, 2009 10:20 PM

    Hi,
    My report is running on Unix. When I checked the output file in unix where it is getting generated, i saw ^L characters wherever the space appears when i see the output in apps (notepad) , like after every page where I am able to see the space in my output, there ^L is appearing in output file in unix, so how can I avoid this.
    I tried to adjust the frames and repeatinf frames also, even i tried changing the properties also of main region (body), but nothing is working for me and still the same issue occurs. I am not aware of this. Please suggest me.
    Thanks a lot!
    Regards,
    Sumir

  • How to remove space between the lines

    Hi,
    In my repoprt output I am getting space between the lines. I have changed
    the repeating frame and field -> vertical elasticity and horizontal elasticity to fallowing combinations.
    fixed, fixed.
    variable, fixed,
    expand, variable,
    variable, expand
    Then also I am getting space between the lines of my output.
    Could you help me in this?
    Thanks

    Change the Vertical Elasticity of fields and frames to Variable. If for some fields or frames you don't want to change the vertical elasticity, then remove extra space by adjusting the height of fields/frames.
    Also check repeating frames property 'Vert. Space Between Frames'. Default is 0.
    Hope this helps.

  • How to remove space between two fields in emergency primary contact.

    How Can I remove a space between the two fields.IN emergency primary contact there are certain field called "C/O" and a i have added one text for this field inside that.But it is taking a big space between the "C/O" field and the text view.Plz suggest how I can re,move this?Also How Can I add new transparent container  with the end user personalization in the emergency contact field.

    Hi Peddi
    In my structure pannel I have simpleSearchPanel below that only i have the two lov fields ex: emp_no and emp_name . how to set the spacer between this From which Region where can find the spacer bean what proerty do i need to set
    Thanks
    AT

  • Removing space between components in a Repeater

    Hi,
    I have a component, based on a canvas, which is shown in a Repeater component. Unfortuantely the Repeater is add a space between each component, how can I remove the space created between each component so that they all sit next to each other.
    Thanks
    Stephen

    Found a solution for this, in my containing VBox I set the verticalGap to 0, this removed the space between each component. Thanks to Tracy Spratt on the Flexcoders forum  for this answer.
    Stephen

  • Removing spaces between clips in imovie 10!?

    Hello everyone!
    first of all sorry if this questions is in the wrong place!
    Anyway, I was wondering if there is ANY way to remove the spaces between video clips in imovie 10? The Spaces look like little black vertical lines... I'm trying to sync my video with a song that im using, and this proves to be very hard when i cant see where my video clips ACTUALLY start in the timeline....
    ANY help is apreciated! let me know if i need to be more specific!

    The black lines are just placeholders for adding transitions. If there is no transition the skimmer will jump to the start of the next clip. Easy way to find start of clip is to turn on snapping in view mwnu or hit the N key. Basically you can ignore the black lines unless you want to drop in a transition.

  • Removing spaces between footnotes in Pages

    New to Pages, so this may just be a setting I've missed. I've got pages with several footnotes and the spaces between the footnotes, though nice, are not considered to be the "proper" format. How do I remove this space so they're more blocks of text? I'd prefer a solution that still allows the footnotes to be "separate" so that footnotes can move with repagination.

    nevermind. Found it in the Inspector. Still new to Macs so that always throws me off

  • Remove space between words

    Hello All,
    I loaded text into Oracle table and stored as clob. However, there are many space between the words. Would you please show me how to remove the space between the words like da ta and dome stic?
    table T1 contains filetext. One of row in the table looks like this:
    filetext = '<P>The dollar value of the entire shipment. This was defined as the net selling
    value, f.o.b. plant, exclusive of freight charges and excise taxes. The value da
    ta are displayed in millions of dollars.</P>
    <P>The total value of shipments, as measured by the CFS, and the U.S. gross dome
    stic product (GDP) while similar in size provide different measures of economic
    activity in the United States and are not directly comparable'
    I am very appreciated all the help from you
    Jenny

    Or you can do this as suggested by cd ->
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Elapsed: 00:00:01.34
    satyaki>
    satyaki>SELECT replace(CONVERT('Ä Ê Í Ó Ø A B C D E ', 'US7ASCII', 'WE8ISO8859P1'),'?','') filtered_res,
      2            CONVERT('Ä Ê Í Ó Ø A B C D E ', 'US7ASCII', 'WE8ISO8859P1') non_filtered_res
      3     FROM DUAL;
    FILTERED_RES        NON_FILTERED_RES
    A E I O  A B C D E  A E I O ? A B C D E
    Elapsed: 00:00:00.03
    satyaki>
    satyaki>Regards.
    Satyaki De.

  • Removing spaces between cross tabs

    Hello...
    I created one cross tab with 10 rows and 2 columns(In Crosstab Expert). Based on grouping i got 5 set of cross tab reports,Each cross tab contains 4 records .But in between these crosstabs blank spaces are there ,How can i avoid such blank spaces...
                                             Thanks...

    Hello, (To view perfectly copy all and paste in editor window)
    No changes..,Actualy the space is between crosstabs.
    i will tell u the layout,
    ______________________________________    //Group Header section starts here
    headding1headding2headding3headding4*
    1st row
    2nd row
    3rd row
    |_4th row______________________________ |     //This is the border of CrossTab
    |                                                                  |     //remove this space
    |                                                                  |     //remove this space
    |                                                                  |     //remove this space
    |+++++++++++++++++++++++++++++++++|     //this is the Group headder Height
    headding1headding2headding3headding4*
    1st row
    2nd row
    3rd row
    |_4th row______________________________ |     //This is the border of CrossTab
    |                                                                  |     //remove this space
    |                                                                  |     //remove this space
    |                                                                  |     //remove this space
    |+++++++++++++++++++++++++++++++++|     //this is the Group headder Height
    I need the layout should be
    headding1headding2headding3headding4*
    1st row
    2nd row
    3rd row
    |_4th row______________________________ |    
    headding1headding2headding3headding4*
    1st row
    2nd row
    3rd row
    |_4th row______________________________ |    
    i had give fit section also...NO CHANGES!!!!
    Edited by: Jebin Manalil on Apr 7, 2009 3:16 PM

  • Cfchart bar graph - removing spaces between columns

    hi
    when we make a bargraph, coldfusion automatically puts
    spacing between the bars... we want continuous bars, with no gaps,
    is this possible ? I have tried pieslicestyle="solid" but that only
    works for Pie graphs...
    for example - I get |||||| - but I want wider lines and no
    space..
    any help will be greatly appreciated.

    Hello, (To view perfectly copy all and paste in editor window)
    No changes..,Actualy the space is between crosstabs.
    i will tell u the layout,
    ______________________________________    //Group Header section starts here
    headding1headding2headding3headding4*
    1st row
    2nd row
    3rd row
    |_4th row______________________________ |     //This is the border of CrossTab
    |                                                                  |     //remove this space
    |                                                                  |     //remove this space
    |                                                                  |     //remove this space
    |+++++++++++++++++++++++++++++++++|     //this is the Group headder Height
    headding1headding2headding3headding4*
    1st row
    2nd row
    3rd row
    |_4th row______________________________ |     //This is the border of CrossTab
    |                                                                  |     //remove this space
    |                                                                  |     //remove this space
    |                                                                  |     //remove this space
    |+++++++++++++++++++++++++++++++++|     //this is the Group headder Height
    I need the layout should be
    headding1headding2headding3headding4*
    1st row
    2nd row
    3rd row
    |_4th row______________________________ |    
    headding1headding2headding3headding4*
    1st row
    2nd row
    3rd row
    |_4th row______________________________ |    
    i had give fit section also...NO CHANGES!!!!
    Edited by: Jebin Manalil on Apr 7, 2009 3:16 PM

  • Mail subject line and safari Goggle Search window removing spaces between words

    After upgrading to Lion I can no longer type out a subject line in Mac Mail witout the spaces automaicaly being removed. All words run together. Same situation in Safari's Google Search window. No issues in FireFox. Driving me nuts. Any others with this issue?

    Found the answer to this issue. I'm amazed this received no responce from the community. Must mean I was the only one with such issue. Amazinly, the exact same thing was happening on three differnt Macs that I loaded Lion to. The answer was given to me by a very helpful and SMART tech person at Apple Care. Two other Apple Care techs were going to have me reinstall the entire OS after wiping my computers clean. I finally found someone that knew what they were doing. He simply took me to Apple>Preferences>Language & Text. Then I selected the Text Tab and then went to the bottom of the window and Reset Default Settings. Bingo, all was fixed. Each machine I did the same thing on and all are working fine now. Hope by me typing this up will help others if needed since not one person responded to this inquirey.

  • Removing Spaces in a String

    I have a string which has spaces in the middle eg.
    String Temp = "Java Is Cool";
    I want to know if there is a function which I can execute so that the result Temp is equal to "JavaIsCool"
    Can anyone please help me....

    There is no API function, but you can create one, using StringTokenizer to get the desired result:
    import java.util.*;
    public String deleteSpaces (String a) {
        StringTokenizer st = new StringTokenizer(a," ");
        StringBuffer sb=new StringBuffer();
        while (st.hasMoreElements()) {
            sb.append(st.nextToken());
        return sb.toString();
    }

Maybe you are looking for

  • VC - Report for charateristics with their corresponding BOM components?

    In our company, we define our finished products as configuration material.That means we have used the variant configuration(VC) in SAP. We have created super BOM for our finished products. And when our sellers create sales order in SAP ,they will cho

  • Movie category no longer showing up??

    My AppleTv 2nd generation no longer shows MOVIES category. Never been a problem before. Is this because of an update? How do I access movies for rent from Itunes Store?

  • Distinct Vibration on 24" imac 2.93 w/ nVidia

    I have a 3 week old imac 2.93 GhZ intel core 2 duo 24" nVdia Geforce 120 graphics today i noticed a persistant and distinctive vibration coming from the display. I cant pinpoint the source, but its definitely coming from the monitor. When the compute

  • Need some Info and help.

    Dear Friends, I have two selects running something like this: select <column-names> from <table-names> where <conditions> union select <column-names> from <table-names> where <conditions>. there are three outer-join conditions in the first select and

  • Drag & Drop or Duplicate layers from PSD to JPEG when creating action

    Hey everyone, I have been trying the last few hours to create an instagram Polaroid action for my JPEG files. I have the picture, and i have the PSD file with a few layers such as virulence gradient map etc... When creating the action, first I drag a