How can I alter the way Array data displays?

I can trace the Array data and I get each array item
separated by a comma. How can I replace that comma with a dash so I
show "Index0 - index1 - index2" instead of "Index0, index1, index2"
Thanks!

var myArray:Array = new Array("item1", "item2", "item3");
var reg:RegExp = /,/g;
var arString:String = myArray.toString();
var newString:String = arString.replace(reg, " - ");
trace(newString);

Similar Messages

  • How can i add the dimensions and data loading into planning apllications?

    Now please let me know how can i add the dimensions and data loading into planning apllication without manuallly?

    you can use tools like ODI or DIM or HAL to load metadata & data into planning applications.
    The data load can be done at the Essbase end using rules file. But metadata changes should flow from planning to essbase through any of above mentioned tools and also there are many other way to achieve the same.
    - Krish

  • How can I modify the High Speed Data Reader VI to show correct time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    First, I couldn't seem to find that example either on computer or on the NI sites.
    The problem that we're running into is stated in the article that I pointed to - when real time VIs are running, then the OS will stop updating the OS clock. TO us it looks like the clock is losing time. There is a hardware clock on the PXI and it is read only during boot up to set the OS clock. Our discussions with NI have not led to a solution for this problem without checking the time on start and then checking the tick count (which does not lose time) and calculating what the current time is. No access to the hardware clock is supplied.
    We're still working on a simpler way to get accurate time.
    Rob

  • How can we upload the asset transactionn data

    how can we upload the asset transactionn data pls let me know

    There are several ways to upload asset transaction data,
    <b>- Automatic legacy data transfer using batch input
    - Automatic legacy data transfer using direct input
    - Automatic legacy data transfer using BAPI
    - Manual legacy data transfer transaction
    - Legacy data transfer using Microsoft Excel</b>
    You may reference to SAP help by the following link for details.
    http://help.sap.com/saphelp_47x200/helpdata/en/01/dfd83705c0c931e10000009b38f842/frameset.htm

  • How can we update the last synchronization date and time..on SUP in sccm 2012 R2

    Hi,
        Can you any one please guide me how can i update the last  synchronization date & time in SUP on SCCM2012 r2 , some how its updated as future date and when ever i try to synch the SUP with disconnected WSUS its shows in the wsyncmgr.log 
    "Wakeup for a polling cycle " and  " Wakeupby inbox drop" and "Wakeup by SCF change"  
    Thanks 
    Balaji K

    You'll probably have to call CSS on this one as this not normal by any means. The messages you noted above are completely normal but if that's all you are seeing then there's an issue.
    Have you reviewed wcm.log and wsusctrl.log?
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • HT2486 how can I export the contact book data to a csv file for editing?

    how can I export the contact book data to a csv file for editing?

    You can edit a card right in Contacts. No need to export and re-import.
    Select a name and on the right side, click the Edit button:

  • The Ipad2 Application Data folder is taking up huge space in C: Drive. How can I shift the User Application data for iPad2 to another Drive?

    The Ipad2 Application Data folder is taking up huge space in C: Drive. How can I shift the User Application data for iPad2 to another Drive?

    Thanks a lot for the response. Yes, I am checking my C: drive data thoroughly now, including the hidden folders, to ascertain if something else can be moved, as per your suggestion.

  • How can I alter the display colours on ios7

    How can I alter the display colours on my iphone and iPad. The new white grey with some bright colours is driving me mad. I have vision problems and this new theme is making it very difficult to use. Turning brightness down doesn't help.

    Thanks fro y reply,
    The problem is that the nr. 3131 dosen't have a MAC/IP address, it was created in Directory Nr. not on the Device/add device, the nr was created to be able to call Avaya agents and the user to not see the personal agent nr ( 3131 ), only the name. The problem is  when a place a call the nr from forwarding appears on the display instead the name I put ( Test ).
    Thanks

  • How can I alter the track sequence of an album? It used to be possible through Get Info on old iTunes, but it doesn't seem to be an option in the new version.

    How can I alter the track sequence of an album? It used to be possible through Get Info on old iTunes, but it doesn't seem to be an option in the new version.

    Right click - get info.

  • How can we make the ms-word data as read-only using java code?

    How can we make the ms-word data as read-only using java code?

    MVSK wrote:
    By using java code i opened a file in ms-word. But the data i want to display as read-only. that means should not change it.I don't think you can do that. Display pdf documents instead.

  • How can I modify the High Speed Data Reader VI to show correct time informatio​n in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Hey Chunrok,
    I've modified the High Speed Data Reader VI slightly so that it now uses the scan rate of the data (as determined from the file) to set the scaling for the data points. If you wanted the start time to be a specific time you could use the start time obtained from your file to set the xscale offset as well.
    I hope this helps!
    Sarah Miracle
    National Instruments
    Attachments:
    Example.vi ‏281 KB

  • How can I modify the High Speed Data Reader VI to show the time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its time information in the graph.
    How can I modify the High Speed Data Reader VI to show the time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Format the x axis to either absoulte or relative time.
    You can do this by right clickingo n the graph and selecting x axis then formatting from the menu.
    Thanks,
    Naresh

  • I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV?

    I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV? I have a MiniDisplay Port to VGA adapter, but there are two issues with it: The new display doesn't have a VGA port, and even if it did, I wouldn't want to have my mac constantly attached to the display by a cable. I was looking for a way to use the TV as a display without any wires. Is there some type of bluetooth setup I could use? Please let me know if you have any suggestions.

    As I wrote above, I think you should look into the Apple TV yourself. The best place to find information about what it can and can't do and to ask your own specific questions is probably in the Apple TV forum, here:
    https://discussions.apple.com/community/appletv/appletv

  • How can I write the name of data into Excel?

    Now, I write T1 T2 T3 and so on into an excel file and each is in one column. How can I insert the data name such as " T1 T2 T3" on the top row by programming? 
    I am using "write to spreadsheet file. vi" now and wire the data with "build array".

    How can you creat the "red box" (linked to append report text.vi)  with name as Pressure, temperature, operator ?  
    Actually, I use much simpler way. Could you please have a look at it?
    I attach an vi file to express my meaning.
    附件:
    save try.vi ‏40 KB

  • How can i alter the value size of the buffer to improve delay in input on adobe audition 3.0

    how can i correct the latency on input monitoring audio?

    The information on that page is about 12 years out of date - it all refers to Windows 98!
    But there is one thing they said that's still accurate, and if anything worse with the newer OS's:
    "With this, the dream of a complete recording studio in a PC avoiding dedicated DSP hardware has come true (this is called native processing, because the CPU executes all calculations on its own.) Unfortunately, there is one downside: Windows still is rather an office operating system, and not meant to be used in the sound studio. Therefore it tries hard to sabotage performing with low latencies. In spite of ASIO many background operations from Windows or other applications lead to short CPU blockades and thus to drop-outs."
    I've yet to hear of anybody optimising even XP to have a low enough latency on the round path through Audition to satisfy a vocalist, especially if effects are involved. And any later OS like W7 seems to be even more sluggish.

Maybe you are looking for

  • Images are blank in RH

    Our FM source contains TIF images in anchored frames. RH creates corresponding JPG files, but the files do not contain an image (in RH or in PaintShop Pro, they show as large white rectangles). When installing the Tech Suite, I deselected various fil

  • Screen/Desktop Only showing one program at a time...

    My mom called me in to look at her iMac earlier today. She said she was moving her illustrator window off to the side when all of the sudden it was "sucked" away to the left side of the screen. Now when she tries to bring up more than one window for

  • Screen display and resolution problem

    Hello, i have lenovo thinkpad T61 its actual screen is potrait. I installed fresh copy of windows 7 32 bit. All was fine,Display was set according to standard vga driver. But when i installed driver for nivida quadro nvs 140 m display changed from po

  • PO Approval Workflow process

    Does anyone know if it is possible to programmitacally kick off the PO Approval process from a PL\SQL Procedure or any other mechanism available(BPEL,ESB,etc..)? I am not sure if this is even possible. If so, what would I need to use and what data wo

  • ___Adding a ToolTip to the JSplitPane arrows___

    I have a JSplitPane that is set to OneTouchExpandable. I also disable the ability to have the user adjust the JSplitPane. Therefore, the user may only expand and contract the divider. Now I want to add a tool tip to just the two arrows (< and >) at t