How do i convert a double array (with spaces and tabs) to a string?

Hi
In our files, we have a mixture of spaces and tabs as a delimeter. How do I convert a double array into a string?
Thank you.

Not sure about the last part of your question.
The Search and Replace pattern can be better than the simple Search and Replace string when you have to do complex searchs, such as detecting multiple spaces.
Have a look at the attachment.
CC
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        
Attachments:
ReplaceSpaces.vi ‏27 KB

Similar Messages

  • How can I convert a double to string

    Hello,
    how can I convert a double value to a string value?
    Werner

    an other way: ;)
    double yourDouble;
    int intTmp;
    yourDouble = yourDouble * 100;
    yourDouble = yourDouble + 0.5;
    intTmp = yourDouble.intValue();
    yourDouble = intTmp;
    yourDouble = yourDouble / 100;you can write it some shorter...
    double yourDouble;
    int intTmp;
    yourDouble = yourDouble * 100 + 0.5;
    yourDouble = yourDouble.intValue() / 100;*100 moves the comma about two steps to the left.
    + 0.5 enables rounding!
    if your value is x.5 or larger you get x+1.?
    if its smaller than x.5 you get x.?
    by parsing the double value to an int the ? is cut.
    /100 moves the comma two steps back
    you get a double value with 2 decimals which is rounded.
    just my coins :)
    happy progging,
    Thof

  • How to batch convert psd to png with layers

    how to batch convert psd to png with layers
    i want to convert lots of PSD files into PNGs WHILE RETAINING
    LAYERS!
    simply batching and choosing custom setting flattens the
    thing.
    how do i do that!??
    and i KNOW it can be done somehow - because i have some old
    png's i KNOW come from the same psd source. ironic, isn't it?
    besides - feature wish for adobe developers:
    A) batch conversion should include 300dpi to 72dpi and vise
    versa.
    B) batch conversion should include PSD to PNG and vice versa
    - including layers and transparency.
    C) RGB to CMYK option when converting from 72 dpi to 300dpi.
    D) batch exporting should include PNG32 which it doesnt now -
    but somehow DOES include the outdated and stupid gif-format.
    E) i'd like the Actions feature of photoshop - makes batching
    complicated procedures easly.
    F) I'd like support for the brushes of photoshop
    G) Better selecting tools for details like hair and fine
    edges.
    Important notes is that i as webdesigner often need to make
    certain aspects of my clients graphics into print material. Also
    that i use fireworks for picture editing.
    Praise for the developers of fireworks
    A) the compression facility of JPGs is AWESOME!
    B) PNG as fileformat is likewise awesome - i end up using it
    for almost all i do these days. Transparency and good file sizes. I
    have used fireworks cs3 to convert all psd and tiff and ai files to
    PNG.
    C) the vectors and styles and method of selecting and editing
    things in fireworks is FAR SUPERIOR to flash and photoshop!

    senocular wrote:
    > Save the following code in a .jsf file and run it in a
    batch. It will save
    > your batched PSDs in their original location as PNGs
    (using the same file name
    > with .png tacked on the end). You'll probably need to
    save the file in your
    > Fireworks/Configuration/Commands directory to allow the
    batch to pick it up.
    > Note that any save location you specify in the batch
    will be irrelevant. This
    > code just saves the files in their original location.
    >
    >
    >
    > var dom = fw.getDocumentDOM();
    > fw.saveDocumentCopyAs(dom,
    dom.filePathForRevert+".png");
    >
    Thanks Trevor!
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    Adobe Community Expert
    http://tinyurl.com/2a7dyp
    See my work on Flickr
    http://www.flickr.com/photos/jim_babbage/

  • How do I convert old work done with iMovie HD 6 to view/work with iMovie 11 on my new iMac?

    How do I convert old work done with iMovie HD 6 to view and work with in iMovie 11 on my new iMac?

    If you still have your iMovie 6 project, you can import it using FILE/IMPORT/iMovieHD Project.
    If all you have is the finished movie, you can FILE/IMPORT MOVIE.
    If your movie is in DV Stream format, it is advisable to convert it to QuickTime MOV container containing DV codec. Otherwise, the import will be chronological by the date and time the clip was shot, rather than in edited order.

  • How to auto insert a number array with size of 20 into a named excel file with the positon is from A1 TO A20?i use lv6.1

    can you give me a example vi for it ?thanks a lot!
    how to auto insert a number array with size of 20 into a named excel file  with the positon is from A1 TO A20?i use lv6.1

    You don't need us to give you an example, as the example already comes with LV. Go to Help>>Find Examples and search for "excel". You will find an example called "write table to XL". You should note that the example doesn't do that exactly, because it writes a 2D array from 2 to N.
    You can modify the example by using only one for loop (instead of nested loops) with a 1D array or by going into the Set Cell Value and modifying it to accept a second cell value for the Cell2 terminal and wiring in a 1D array instead of the single string. If you do modify it, be sure to save it under a different name, so you don't overwrite the original.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • How can i convert a double to float

    double gallons;
    double startOdometer;
    double endOdometer;
    double mpg;
    double miles;
    endOdometer = Double.parseDouble (inputs);
    miles = endOdometer - startOdometer;                                                                 
    mpg = (miles/gallons) ;
    gallons = miles/mpg;
    mpg = Float.parseFloat(double);

    You would use a cast.
    double d = 1.4;
    float f = (float) d;But why do you want to convert a double into a float and then store it back into a double?????

  • How can I convert multiple files at one time and not one at a time

    How can I convert multiple files at one time and not one at a time

    Hi Plissey1950,
    Sorry for the lengthy delay to a response.  Are you trying to convert multiple files to individual PDF files at the same time? (not combine them).  If so, you'll need to use Adobe Acrobat for this function. The CreatePDF service does not have the ability to convert multiple files to multiple individual PDF files.
    Thanks,
    David

  • How do I download a slide show with captions and music to my IPad?  It is not happening when I sync.

    How do I download a slide show with captions and music to my IPad?  It is not happening when I sync.

    The way that you would transfer photos from iPhoto to the iPad would be to sync with iTunes. Connect the iPad to your Mac with the cable and launch iTunes. Select your iPad under the devices heading on the left. Then click on the Photos tab in the iTunes window on the right. You can select the folder from which you want to sync your photos in the drop down menu bar - so select iPhoto there. Then select the album or events that you want to sync from the windows below. After you have made your selections, click on Apply in the lower right corner of iTunes.
    I am not sure how the iPad will handle a slide show in the photos app that was created on your Mac. You can create basic slide shows on the iPad using the different albums, events or faces that you have in the Photo app, but as for the captioning that you have already set up, I don't know how that will work in the app when you sync the slide show.

  • How to display error messages in BAPI_PO_CHANGE  with PO and item ?

    Hello Friends,
    I am calling BAPI_PO_CHANGE to update delivery flag for 50 POs.
    Each PO has 4 line items. For ex.
    10001     10     5.00     material1      X
    10001     20     45.00     material2      X
    10001     30     22.00     material15      X     u201Cerror
    10001     40     45.00     material41      X
    10002     10     46.00     material17      X
    10002     20     25.00     material3      X     u201Cerror
    10002     30     75.00     material5      X     u201Cerror
    10002     40     44.00     material8      X
    u2026u2026u2026u2026u2026..
    u2026u2026u2026u2026u2026
    Now, suppose some line items have error.
    I am able to get it from BAPIu2019s    RETURN table.
    But how can I display that error message with PO and line item?
    NOTE : I am calling BAPI_PO_CHANGE for each PO with ITEM internal table.
    Please guide me.
    Regards
    RH

    The it_change_return fields parameter and row identify the PO_ITEM.
    Try this...
    *&      Form  READ_MESSAGES_OP_CHANGE
          BAPI_PO_CHANGE Return messages
    FORM read_messages_op_change .
      DELETE it_change_return WHERE type = 'W'.
      DELETE it_change_return WHERE type = 'I'.
      LOOP AT it_change_return ASSIGNING <is_change_return>.
        IF <is_change_return>-type = 'E'.
          z_error_flg = 'X'.
        ENDIF.
        v_item = v_item + 1.
        it_log_mess-packagenr = v_packagenr.
        it_log_mess-object = v_object.
        it_log_mess-docnum = v_docnum.
        it_log_mess-itemnr = v_item.
        it_log_mess-type = <is_change_return>-type.
        it_log_mess-id = <is_change_return>-id.
        it_log_mess-mnumber = <is_change_return>-number.
        IF <is_change_return>-parameter <> 'POITEM'.
          it_log_mess-message = text-po1.
          REPLACE '&' WITH z_po_number INTO it_log_mess-message.
          CONCATENATE it_log_mess-message <is_change_return>-message
            INTO it_log_mess-message SEPARATED BY space.
        ELSE.
          READ TABLE it_change_poitem ASSIGNING <is_change_poitem>
            INDEX <is_change_return>-row.
          it_log_mess-message = text-pr2.
          REPLACE '&' WITH z_po_number INTO it_log_mess-message.
          REPLACE '@' WITH <is_change_poitem>-po_item
            INTO it_log_mess-message.
          CONCATENATE it_log_mess-message <is_change_return>-message
                INTO it_log_mess-message SEPARATED BY space.
        ENDIF.
        it_log_mess-message_v1 = <is_change_return>-message_v1.
        it_log_mess-message_v2 = <is_change_return>-message_v2.
        it_log_mess-message_v3 = <is_change_return>-message_v3.
        it_log_mess-message_v4 = <is_change_return>-message_v4.
        APPEND it_log_mess.
      ENDLOOP.
    ENDFORM.                    " READ_MESSAGES_OP_CHANGE

  • I have read 118 files (from a directory) each with 2088 data and put them into a 2 D array with 2cols and 246384row, I want to have aeach file on a separate columns with 2088 rows

    I have read 118 files from a directory using the list.vi. Each file has 2 cols with 2088rows. Now I have the data in a 2 D array with 2cols and 246384rows (118files * 2088rows). However I want to put each file in the same array but each file in separate columns. then I would have 236 columns (2cols for each of the 118 files) by 2088 rows. thank you very much in advance.

    Hiya,
    here's a couple of .vi's that might help out. I've taken a minimum manipulation approach by using replace array subset, and I'm not bothering to strip out the 1D array before inserting it. Instead I flip the array of filenames, and from this fill in the end 2-D array from the right, overwriting the column that will eventually become the "X" data values (same for each file) and appear on the right.
    The second .vi is a sub.vi I posted elsewhere on the discussion group to get the number of lines in a file. If you're sure that you know the number of data points is always going to be 2088, then replace this sub vi with a constant to speed up the program. (by about 2 seconds!)
    I've also updated the .vi to work as a sub.vi if you wa
    nt it to, complete with error handling.
    Hope this helps.
    S.
    // it takes almost no time to rate an answer
    Attachments:
    read_files_updated.vi ‏81 KB
    Num_Lines_in_File.vi ‏62 KB

  • How to forward sms messages via email with date and contact received info

    Does anyone know how to forward sms messages via email with date and contact received info.
    Currently when I forward only the body copy of the sms message is sent in the email.

    This is not currently possible. Sorry.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How do you share thousands of pictures with text and captions outside of PSE?  (PSE 4)

    One of my dad’s retirement passions is family genealogy and old family pictures.  Several years ago I gave my family PSE 4.0 for Christmas so that we could each have backup copies of our dad’s pictures.  Usually once per year, I made backup copies of everything and emailed the DVDs to my brothers and sisters.  Everyone knows the basic PSE 4 functions and share our dad's enjoyment with the old family photos.
    My problem is that my dad is running out of pictures to scan.  He wants to “share” or “show” his photos with others so that he can “borrow” their photo albums in order to scan their photos.  He plans to attend a hometown high school reunion later this fall.  He hopes to "collect" photo albums from cousins and classmates.  I have been struggling with this for several days without any good ideas.
    The scanned pictures lack any text (added as a layer?) or captions.  Creating a slideshow (on my dad’s computer is slow).  Also, a slideshow doesn’t let others select individual pictures to save from the slide show
    He has old pictures pre-PSE 4 that allowed him to add captions directly to the picture when it was scanned.  I never liked this approach as it "destroyed" the actual picture but these old pictures are more easily shared as individual pictures.
    How do you share thousands of pictures with text and captions outside of PSE?  Can you save or export a composite picture with all the layers?
    Thanks in advance for your help and replies.

    I think it is one of the printer option screens that gives me the choice of tabbed 4x6. All of the choices specifiy HP or Other so I am pretty sure it is printer software that offers me this choice.
    Make sure your image has a 4x6 aspect ratio. I have been quite happy with the tabbed 4x6. Just need to remember to load the paper with the tab last.
    So, in elements you set to 4x6, in printer options you should be able to choose 4x6 tabbed paper.

  • Hello! i am from Romania and i want to buy an iphone from the USA site. can i buy it neverlocked? and if it is possible how much should it cost in totat(with transport and the iphone price)?

    hello! i am from Romania and i want to buy an iphone from the USA site. can i buy it neverlocked? and if it is possible how much should it cost in totat(with transport and the iphone price)?

    You can buy a factory unlocked on direct from Apple sim free, make sure you get the right one and not just a contract free one.  I am sure  one of our US members will be able to give you the price.

  • How to make the mobile application work with firewall and anti-virus ON

    Hi,
    I keep on receiving internal processing error when i try to login sap mobile solution 1.3.0 on my ipad and i was provided a solution, that is to turn off my firewall and antivirus. I works by turn off both of it but i cant possible turn of the firewall and antivirus on the server.
    Can anyone guide me how to make the mobile application work with firewall and anti-virus ON
    Thank you

    Dear Rajesh,
    Create a policy in your fire wall to allow the port to send and receive data.
    I believe the port for the mobile should be port 8080 and 8443.
    And your license server port 30000 and 30001
    nd.Q

  • I want to know how to register a preowned CS5.5 with ADOBE and activate it?

    I want to know how to register a preowned CS5.5 with ADOBE and activate it?

    Transfer an Adobe product license
    Mylenium

Maybe you are looking for

  • Can't pair iPhone 5 with Mac mini or iPad

    When I try to pair my iPhone 5 with my Mac mini (current model), I'm able to go through all the steps and the Mac shows the iPhone is connected for about 1-2 secs and then drops the connection.  I'm trying to pair them so I can use the TokenLock app

  • RowNum for header and detail for XMLNodes using XQuery Sqlserver

    Hi All, I have this xml. declare @xml xml set @xml =' <StudentsData> <StudentData> <Name>AAA</Name> <subjects> <subject> <Name>computers</Name> <marks>30</marks> </subject> <subject> <Name>Maths</Name> <marks>40</marks> </subject> </subjects> </Stude

  • How do I select paper type when printing from Photoshop?

    Sorry to be a total technotard, but in the olden days, I could select paper type (e.g. glossy photo) from the print menu when printing from Photoshop.  Now there is no way to select paper type, at least not that I can find.  Is this an Adobe thing? 

  • Problemi on app  adobe reader su ipad

    Buongiorno, ho un problema con l'app adobe reader su ipad, quando invio come copia a livello singolo via email un pdf con adobe chi lo riceve non riesce ad aprirlo e gli appare il seguente messaggio. Errore durante l'elaborazione di una pagina. Si è

  • [SOLVED] Choppy sound with Intel audio card

    Ever since I bought this laptop and installed Arch, I have experienced this annoying choppiness. What happens is that when I highlight other windows, under the minimum memory/cpu load the sound is truncated. I can't listen to music pleasantly on my l