How do i insert a blank "space" in a String?

any ideas? i went to the flex lang ref and help and couldn't figure it out.
thx.

You can go to the Maps browser and find black and colored slides you can use as a background.

Similar Messages

  • How to replace multiple occurences of space in a string to a single space?

    How to replace multiple occurences of space in a string to a single space?

    Hi,
    try this code.
    data : string1(50) type c,
              flag(1) type c,
              dummy(50) type c,
              i type i,
              len type i.
    string1 = 'HI  READ    THIS'.
    len = strlen( string1 ).
    do len times.
    if string1+i(1) = ' '.
    flag = 'X'.
    else.
    if flag = 'X'.
    concatenate dummy string1+i(1) into dummy separated by space.
    clear flag.
    else.
    concatenate dummy string1+i(1) into dummy.
    endif.
    endif.
    i = i + 1.
    enddo.
    write : / string1.
    write : / dummy.

  • How do I remove extra white spaces in a string?

    How do I remove extra white spaces in a string?
    trim() removes before and after spaces.
    If I have a string "This is Test"
    I want to remove extra spaces between words and also I want to keep SINGLE space
    between words. So output should be "This is Test". Thanks.

    replaceAll dosen't support with my version. Actually this works..............!!!!!!!!! Thank you.
                        java.util.StringTokenizer st = new java.util.StringTokenizer(brn, " \t");
                        StringBuffer buf = new StringBuffer();
                        while (st.hasMoreTokens()) {
                             buf.append(" ").append(st.nextToken());
                        String brn1 = buf.toString().trim();

  • How to get rid of blank space showing above my pages

    Hi:
    I built my site dyingforthetruth.com using Muse (thanks, it's pretty nifty!), following a video tutorial you provided.
    I've ended up with a blank space showing above all pages, and much trying with the blue lines and rebuilding my header strip has NOT succeeded in fixing it.
    Here's a snapshot of the top left part of the "main" master, showing the blue lines and the space at the top.
    You can see what it looks like on the web by going to the site URL (dyingforthetruth.com).
    Can you please tell me how to fix this. I find it a bit strange to see all my pages for this site coming up in all 5 browsers I've tried (IE, Chrome, Firefox, Opera, Safari) with a pronounced gap at the top of them all.
    Thanks!

    Go to Page> Page Properties and on the "Padding" section set "Top" to 0. That should do it.
    If you are on a master page make sure that the top blue arrow is at 0. That arrow controls the top of page, and you need to have a padding of 0 for what you want.

  • How can I fill the blank space in the example below?

    I have to fill using sql statement the blank space with the same description that appears below that belong to the same STTCKT. I
    am using a temporary table.

    There is no need in ROW_NUMBER. You can use simple query like below sample which cost 6% relative to the use of ROW_NUMBER which cost 94% (sort is havy operation with no index).
    DDL+DML:
    CREATE TABLE test( [STBK#] varchar(50), STTCKT int)
    truncate table test
    Insert into test values
    (null, 48035)
    ,('First Two Truck', 48035)
    ,(null, 48039)
    ,('First Two Truck', 48039)
    ,(null, 48046)
    ,('First Two Truck', 48046)
    ,(null, 48054)
    ,('KLS LOGISTIC, INC.', 48054)
    GO
    select * from test
    GO
    If all you need is SELECT with FILL then check this:
    select
    --[STBK#] ,
    STTCKT, [Fixed_STBK#]
    from test T1
    Cross APPLY (SELECT TOP 1 T.[STBK#] FROM test T WHERE T.STTCKT = T1.STTCKT and T.STBK# IS NOT NULL) T2 ([Fixed_STBK#])
    And you can use this query as well without CROSS APPLY
    select
    --T1.[STBK#] ,
    T1.STTCKT, T2.[Fixed_STBK#]
    from test T1
    LEFT JOIN (SELECT T.STTCKT,MAX(T.[STBK#]) [Fixed_STBK#] FROM test T GROUP BY T.STTCKT) T2 ON T1.STTCKT = T2.STTCKT
    If you are looking for update the original table please check this:
    UPDATE test
    SET [STBK#] = T2.[Fixed_STBK#]
    FROM test T1
    Cross APPLY (SELECT TOP 1 T.[STBK#] FROM test T WHERE T.STTCKT = T1.STTCKT and T.[STBK#] IS NOT NULL) T2 ([Fixed_STBK#])
    WHERE T1.[STBK#] IS NULL
    GO
    I hope this is helpful and answer your need, If not please try to clrify your needs and post your DDL+DML
    [Personal Site] [Blog] [Facebook]

  • How do I delete the blank space at the beginning or end of a project?

    I constantly end up with blank space at the beginning or end of a project - how do I remove it?  I get this ALL the time and I jsut can't get rid of it.  Obviously I want my project to start at 0.00 not at 1.xx.
    Thanks.

    That's not a project. You're inside an multicam angle editor. You need to edit the multicam clip into a project. That's where you edit it.

  • After making a live recording, how does one delete the blank space at the end?

    I have asked everyone I know and no one seems to know how to do this. Thanks, for any info!

    Do you want:
    A) Remove the blank space in your GarageBand Project
    B) Remove the silence in the actual audio file
    Just make sure that you are aware of the difference between an Audio Region and an Audio File
    About A)
    Just resize the right border of the Audio Region. The Audio Region is just a reference to the actual Audio File on your drive. This solution is just for editing your Project it won't get rid of any silence int he actual Audio File
    About B)
    You cannot do that in GarageBand itself. GarageBand only allows editing of the Audio Region (non-destructive editing) not the actual Audio File (destructive editing). A quick way to do it is open the file in QuickTime, crop it and save it.
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • How do I clear the blank space between content and footer?

    In the process of revising a Muse website, I deleted some content from one of the pages and revised the content that remained on the page. Now I have a blank area between the bottom of the revised content and the top of the footer, and I can't seem to get rid of the blank space. It doesn't appear that there are any text blocks or other images in that area, so I can't find any objects to delete. Help?
    The website is currently published in a draft mode for client review. You can examine it at: http://page7creative.com/clients/coremove_jun2012draft/retreats.html. The page in question is the Retreats page. Restarting Muse made no difference. I work on the Mac platform.
    Before I sent this post, I decided to try creating a new page, then copy/paste the content onto the new page, and save the Muse site under a different name. Lo and behold, the page (and the site) works like it should...without any extra space above the footer on that page. It would appear that something went astray when I deleted content on that page. I can use the new page to get the site working properly, but decided to go ahead and send this post so that you can look at the page code and perhaps see what is wrong that is causing the blank space...in case I ever run into this again.
    Thank you.
    pyxis83

    Thanks for sending your file.
    There is a graphic at the bottom of the content area of the Retreats page that's been cropped to a size of zero width and 2 pixels in width.
    Unfortunately, there's a bug with pointer tool drag selection (aka marque selection) that prevents it from selecting an item that has zero width or zero height. Therefore the easiest way to select this item to delete it is to select any other item on the page, then hit the tab key repeatedly to cycle through every item on the page. When you get to this item you should see a little pile of selection handles at the left edge of the third column and right at the bottom of the content area. The width and height will display as zero and 2. Delete this item and the page will resize to fit the remaining content.

  • How do I insert a blank page if my group ends on an odd-numbered page

    I have a report that prints out information for 10 regions. We print this report double-sided and put it into a 3-ring binder with 10 divider tabs, one for each region. If the last page for a particular region is an even-numbered page, then everything is OK since the next region begins on an odd-numbered page (the right-hand side of the open 3-ring binder). However, if the last page is an odd-numbered page, this causes the next region to begin on what would be the left-hand side of the open 3-ring binder which is not acceptable. I have considered printing each of the 10 regions separately (a seemingly easy solution, but our pages are required to be numbered consecutively through the regions - and are also of the type Page &Page of &Total_Pages).
    How do I create a BLANK PAGE at the end of a region if it ends on an odd-numbered page?
    I am using reports version 6i with 9i as my backend database. It just occurred to me that occasionally in printed material, one sees "This page intentionally left blank", usually on the last page of a chapter to permit the following chapter to begin on the right-hand side. If anyone has created a solution to get this "..intentionally left blank" page to print, this seems to be a close fit to what I am trying to do.

    I am also trying to do this same thing.
    I have followed the text as it is stated in
    http://otn.oracle.com/products/reports/htdocs/faq9i.htm#43
    but it still does not work.
    My invisible line prints on every other page, however
    my repeating frame prints on every page with no page breaks.
    Do you have any suggestions?
    Thanks in advance,
    Vicki

  • Af:inputText problem : how to display text containing blank spaces

    Hi,
    I have a inputText in af:table with clickToEdit mode, when I commit a value from input text
    for e.g
    "This is______________ a ________text with_________lot________of_______blank spaces"
    (_ undescore represents spaces)
    it get saved perfectly fine to db, but when I am in display mode , it removes all spaces leaving one space
    "This is a text with lot of blank spaces"
    seems like problem is with while displaying, component is not rendering more than one blank spaces
    Message was edited by:
    user626222

    Hi Frank,
    Thanks for your response,
    I am using inputText in af:table with editingMode="clickToEdit"
    so, when its in edit mode, it deplays the correct value as its saved in db
    as soon as you come back to view mode , it eliminates extra spaces replaces with one space
    Thank you

  • How do i insert a blank slide

    How do I add a blank slide into a movie. I want to put a logo onto this.

    You can go to the Maps browser and find black and colored slides you can use as a background.

  • On an iPad, how do I insert a blank page between two using iWork Pages?

    I realize how many times I used the word 'pages' in the question, I was unable to think of a less confusing way to word it. :)
    I am using an iPad with Pages loaded on it. All software is up-to-date. I have downloaded a few templates apps to use with it. I have figured out how to add a blank page to the end of the document (by hitting enter at the base of the previous page before it). However, I would like advice or assistance adding a blank page between two existing pages. The other "trick/work around" is not effective. I'd even appreciate learning how to change the order of the pages so I may place the blank sheet where I need it.
    Hope this makes sense. Any advice would be appreciated. Thanks in advance,

    Position the cursor where desired by touching the screen. In the selection bubble that appears,  i.e., Select, Select All, Paste, Insert, choose Insert and from the insert menu choose Page Break. Two Page breaks will produce a blank page.

  • How can I get consecutive blank spaces in a PDF?

    Native file is built in InDesign CS6.
    I have 2 fixed-width spaces within a part number. When I export to a PDF and open in Acrobat it is reading it as one space.
    i.e.  Dealer opens PDF to copy part number and paste into a Word document. Part number has a two-digit variable number but it's only reading as a single space in the PDF.
    Any ideas or suggestions?

    PDF is not a good format for the storage and exact retrieval of textual information. A key reason is that frequently there are no spaces in PDF, just a horizontal gap whose interpretation is in the eye of the viewer. Tagging the PDF from InDesign might help.

  • How to get rid of blank space at end of movie?

    I made a 10 minute product tutorial in iMovie HD, shared the movie using expert mode and it took an hour to create the bounce, and at the end of the movie it has a long dead space with strange artifacts there, whereas in the iMovie is all blackness past the last clip. I did not want the dead space to be there, much less the strange colors that appeared.
    I know that you can share selected clips, rather than taking another few hours to find out if that method solves the dead space problem, can someone please tell me if hitting Apple>A and selecting the entire strip of clips will export only those clips as one movie, and leave out the long dead space at the end past the last clip?
    Thanks

    Possibly solved, checking now. In the clip view there were two clips names 'black' that I was not aware was at the end, this is probably the issue.

  • How can i Insert a blank line an output file from my code

    I hav a problem in printing the charecters at th partyicular positon by getting the getFilePointer SO p-lz do help

    It's not so simple as you might have in mind.
    The following may serve to give some idea for your purpose..
    import java.io.*;
    public class RandAcc {
    public static void main(String[] args) throws Exception{
    try{
    long filePointer=0L;
    java.io.RandomAccessFile rf = new java.io.RandomAccessFile("in.txt","rw");//arbitrary input text file
    System.out.println(String.valueOf(rf.getFilePointer()));
    int q=0;
    while((q=rf.read())!=-1){
        filePointer=rf.getFilePointer();
        System.out.print(String.valueOf(q)); 
        System.out.print(": file pointer is at ");     
        System.out.println(String.valueOf(filePointer));
    rf.seek(0L);//reset the filepointer
    System.out.println(String.valueOf((char)rf.read()));//initial position
    rf.close();    
    catch (Exception e){
        throw e;
    }

Maybe you are looking for