Change the format of a string

Hello all,
Now what shall I do is to convert a string to an array.
The string I got is shown in the pic in attachment, together with my code.
Obviously the array isn't correct.
i wonder if there's a way to change the format of the string without the empty lines, and concatenate each number after another,
in order to have a correct array with my code.
Or someone has idea to make a new code for converting a string like this to array?
Thanks
Chao
Solved!
Go to Solution.
Attachments:
Immagine1.PNG ‏63 KB

Hi Gerd!
Here is my VI. Actually I figured out a simple way to implement this, just by
adding a Trimwhitespace.vi between the input string and match pattern, and that works!
I'm still glad to know how do you use spreadsheetstringtoarray.
Thanks in advance if you can show me that!
Chao
Attachments:
decompose_VI.vi ‏20 KB

Similar Messages

  • How can i change the Format of my DATE column?

    I need to change the date format for a whole column. At present i can do MM-DD-YYYY. I need to change this this to DD-MMM-YYYY.
    I know about the to_date function, i tried to apply it to change the format of my whole column by doing the following.....
    CREATE TABLE "IT220_DATEHOLIDAY"
    "DEPARTID" VarChar(2)NOT NULL ENABLE,
    "HOLCODE" VARCHAR2(2)NOT NULL ENABLE,
    "DEPARDATE" DATE,
    to_date('DATE','DD-MMM-YYYY'), <<<change DATE column to DD-MMM-YYYY
    CONSTRAINT "DATEHOLIDAY_PK" PRIMARY KEY ("DEPARTID") ENABLE
    ORA-00902: invalid datatype <<<<This was the error message i received.
    I am aware that the to_date function is supposed to be used to change strings into a certain format. I guess this means you cant do it with columns? Is there anyway i can format the whole column or do i have to do each string of data entered one by one?
    Thanks in advance!

    Hello Jay,
    I'm not sure you hit the right forum, as this doesn't seem to be a problem with APEX.
    Anyway:
    You can't use that function on a table like that, and as you already suggested, the to_date-function expects a string value.
    It seems you also have a misunderstanding of the basic datatypes in the database. DATE is such a datatype and is stored an internal format you don't need to care about. Each time your request the value, the database will give you a string representation according to either your locale or you give a certain formatting mask.
    The same applies to insert or update operations: you hand in either a variable of type DATE or use a function like to_date to create an "object" of type date.
    You may be interested in reading the documentation of the [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/toc.htm]Oracle Database Concepts. The section concerning datatype DATE can be found here:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/tablecls.htm#CBBGJHJC
    An overview of formatting options can be found here:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements004.htm#SQLRF00212
    So to answer your question: You would format it as part of your insert operation, taking a string and convert it using to_date.
    -Udo

  • How can I change the formate of @today from (MM/dd/yyy) to (dd-MM-yyyy)?

    I am in openscript, using a settext commend - .setText("{{@today(MM/dd/yyyy), 10-02-2011}}}}"); is anyone know how can I change the formate of @today from (MM/dd/yyy) to (dd-MM-yyyy)?
    I went to Java Code tab and tried to use - new SimpleDataFormat("dd-MM-yyyy").format(new Date()); but not successful. Any help will be appreciated.
    Katherine

    Hi,
    you can display the date format in dd-mm-yy by using the below Java code.
    First import the bellow java classes.
    import java.util.Date;
    import java.text.SimpleDateFormat;
    //and add bellow code in run() function
         //************ Display Date and Time *************
         Date date_format=new Date();
         SimpleDateFormat dateFormat = new SimpleDateFormat("dd-mm-yyyy");// HH:mm:ss");
         String Exec_Time = dateFormat.format(date_format);
    //output statement
    info("Today's Date: "+Exec_Time);
    I can able to add the screenshot of this output here, so if you need any other information please write to me.
    Regards,
    MRSN

  • Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help

    Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help with this, please.

    jpg does not support Layers.
    Just to make sure, what exactly do you mean by "stacking photos" and what do you want to achieve thereby?

  • How to change the format of a cell in a web report

    Hello experts,
    Is it possible to implement this in a Web Report/BEx query?
    We have a list of products grouped into Company A and Company B. One key figure is for example Net Cost Price.
    We need to highlight the lowest net cost price in every company but with a different colour depending on the company assuming prices are sorted in ascending order.
    We have been recommended to use Web Design Api for Tables but we understand that in order to format a cell content we need to know the axis position of the cell but we don't know how many rows the query will display for every company. Is this kind of requirements only possible with "static" reports where we know exactly the number of rows and columns that are going to be displayed?
    This is an example.
    COMPANY      PRODUCTS    NET COST PRICE
    Company A    Product 1    <b>5€</b>
                 Product 2    10€
    Company B    Product 1    <b>10€</b>
                 Product 2    20€
    Any help would be very much appreciated.
    Thanks in advance,
    Inma

    Hi Inma,
      If you have already not solved your problem , you can try the following solution with table interface class.
    Table interface class generates HTML table row by row so it first process the charecterstics and then KFs .
    You define a  attribute(type public) in class and set that attribute to X (In CHARECTERSTIC menthod)when ever the company code changes.
    Then make use of that flag in DATA method to change the format of cell (Assuming you sorted by Ascending).
    hope this helps.
    Regards
    Madhukar

  • How to change the Color of a string using swings/awt concept.

    Hi friends,
    How can i change the Color of a string.
    For ex:
    If i have a string "Welcome to the Java World",I want one particular Color for the string "Welcome to the" and a different Color to the "Java World" string.
    So please kindly help me out to resolve this issue.
    Thanking u in advance.

    "Text Component Features"
    http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html

  • How to change the format in sap script

    Hi,
    I am working on a report which calls a sap script and i have to modify the script i.e. the values which are displaying in it. i had never worked on SAP SCRIPTS ,plzz provide me guidlines how to change the format of the data displayed in it.

    hi,
    this will give you the whole idea about the scripts in SAP the t-code is SE71.
    refer this link::
    [SAP SCRIPTS|http://help.sap.com/saphelp_40b/helpdata/en/d6/0dc169494511d182b70000e829fbfe/applet.htm]
    [WIKI|https://wiki.sdn.sap.com/wiki/display/ABAP/FormPrinting-SAPscript%2CSmartforms]
    regards
    sarves
    Edited by: Sarves Sombhatla on Feb 20, 2009 1:38 PM

  • I changed the format to an external drive and lost everything that was on it.

    I changed the format on an external hard drive and lost everything that was on it. Is there a way to recover what was on it?

    1) Partition your hard drive or add an external drive and install Snow Leopard (with the Optional Rosetta) into it and then you can dual-boot (System Preferences:Startup Disk) into Snow Leopard and run FCE 3.5 there.
    2)  Use one of the following methods to install FCE 3.5 into Mavericks:
    a)  Pacifist:  http://www.charlessoft.com/
    b)  Jeremy Johnstone's Terminal method:  http://www.jeremyjohnstone.com/blog/2012-03-11-installing-final-cut-pro-studio-2 -0-on-mac-os-x-10-7-lion.html
    Reports on this forum seem to confirm that Final Cut Studio 2 will continue to operate in Mavericks once it is functionally installed, albeit some plug-ins may fail to function.  FCE 3.5 is the same generation as FCS2, and presumably will continue to operate in Mavericks, as well.

  • How can I use single hard drive for both Mac OS and Windows without changing the formats and reformatting?

    I have a windows PC and a Macbook Air and a 1TB external hard drive. They said in order to transfer large files into the hard drive you have to change the format of your hard drive (which would be from MS-DOS to Mac Os extended) so how can I use my external hard drive on my windows PC without reformatting its files? Please heeeelp 

    Natively Windows can read and write to NTFS, FAT32, and exFAT while the Mac can read and write to FAT32, exFAT, and MacOS Extended.
    Option 1: You can purchase driver software for Windows to allow it to read and write Mac's MacOS Extended or you can purchase a driver to allow the Mac to read and write to NTFS.
    Option 2: you can format the hard drive for exFAT and use it with both Windows and the Mac without purchasing any special drivers. (Obviously the 4GB file size limit is why you don't want to use FAT32)

  • How do i change the format of a single page in pages 09?

    How do i change the format of a single page in pages 09?
    I want a page to be landscape within a portrait-format doc.

    Question asked and answered many times !
    Yvan KOENIG (VALLAURIS, France) jeudi 19 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • Do I have to change the format of my canon video footage in order to import

    the format of some video footage that I recorded is currently .MOD and some are .MOI (I have no clue what that means, but that's what it says.. and I'm assuming it needs to be converted into another file-type)
    my macbook pro can't recognize this format, so is there anyway I can change the format of these videos so I can edit it in imovie?
    [I have a MacBook Pro and the footage is from a Canon FS100]
    Thank you!

    The MOD files are MPEG-2 video formats recorded on tapeless media. Use MPEG Streamclip to convert them to Apple Intermediate Codec for editing in iMovie. The MOI files do not contain video; they are basically information files associated with the video files. MPEG Streamclip is free however you will also need to get the Apple MPEG2 Playback Component ($20 from the apple store) if you don't already have it on your MBP.

  • How do you change the format of glossary terms?

    I have entered a number of terms in my glossary, along with the definitions. When I preview the book on my iPad, the definitions come up when i touch them, but the box has white text on a white background. How do I change the formatting of the definitions?

    Format/Advanced/Define Default Glossary Style.
    See http://www.dummies.com/how-to/content/how-to-set-default-styles-for-objects-in-i books-au.html

  • How to change the format of the video on my Palm Centro

    I have used the video feature on the phone & have played back the videos fine on my phone.  However, when I sync them to the computer, they are in a Real Player format.  When I try to open them through the back up folders (I wanted to delete them off my phone & palm software so I could take more videos & sync easily.  So I'm trying to move the videos to a separate folder on the computer.  They are actually put in a back up folder automatically when I sync, but they are all in Real Player Format.)
    Anyway - they won't play in Real Player.  How can I change the format so that I can play them back in a program other than Palm????
    THANKS!!
    Post relates to: Centro (Verizon)

    Quicktime is available free from apple.com.
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How to Change the Format of Object.................

    Hi,
    The client is asking us to change the format of the out of th object into another format.
    With The existing format the result is DisplayFare: 4,673.23
    and the formula used is :
    WhilePrintingRecords;
    global currencyvar DisplayFare;
    global currencyvar array PaxFare;
    global numbervar num;
    if {fld.Fld1}= 'IPAX' then
        DisplayFare := PaxFare[num];
    DisplayFare;
    But client want the same in different format DisplayFare:4 673,22.
    For what changes i needs to do...................please do the needful.
    Regards,
    Maheedhar

    Hi Maheedhar,
    The only difference I see if that the required format does not have a thousands separator (Or does it have space as the separator?) and it uses a comma as the decimal separator.
    You can right-click the field > Format Field > Customize > In here you should be able to change the Decimal separator, Thousands separator etc.
    -Abhilash

  • How can I change the format of some of the pages of a PDF-document?

    I use Adobe Acrobat and have a PDF-document with A4 pages and some pages of another format (half of an A4).
    How can I change the format of these pages to A4 (with a lower blanc part)?

    You can increase the page size with the Crop Tool of Acrobat Pro.

Maybe you are looking for

  • File not opening

    Hi all, How do u open files with .rar extension name? Rgds Manish

  • Eps images looking pixelated when placed in Indesign

    I am creating a catalogue. The images I am using are eps files. In some instances the image once placed into Indesign come out completely or partly pixelated. I have checked the display performance and it is on high quality. I am also placing the ima

  • How to insert a swf file in to flex..

                   hi all i'm trying to insert a swf file in my flex. I'm trying to insert a help manual e-book to my flex application, i dont have any idea in flex... i have some 1 month experiance in flex... so plzzz help me...

  • Java not showing up in ubuntu

    I have installed Java Studio Creator successfully in Ubuntu. But when I open the program, all I get is a gray window. Is there a way of fixing this. (I am using Ubuntu 7.10 Gutsy gibbon)

  • Can't find my album on photo

    I have edited and created a new album for my pictures in photo and when I try to access it in order to add it to Dropbox it is not accessible. It's as if it's not there, but I can find it in Photo when I look for it there.