Anyone know how to add a string to a 1d array with file info, then be able to read back, display string, and sort data array.

I need to store a data array and include text that describes what the data is. (using for various configuration files.) Anyway, I would like to be able to save the string as part of the txt file, and somehow read it back, remove the (various length string), and display it in an indicator. All the while, not causing too much problem with the initial data array.
Thanks in advance!!

There are several ways to do what you require. A simple method would be to use an ASCII text file. When writing one of those, you just need to basically build a gaint string starting with the description text you want. We like to call that a header. Once you've got the header, make some sort of delimiter like a bunch of "-" or two sets of ( EOL = End of Line = CRLF = \r\n ). After your delimiter, concatenate your array in string form or flatten your array from its native form into a string and tack it on the file (append).
See the (very quick) example attached.
Dan Press
www.primetest.com
Attachments:
fileheader.vi ‏41 KB

Similar Messages

  • Does anyone know how to add a preface page at the beginning of the book in ibooks author once the book is written? No matter how I try to add a Preface page, it goes to the end of the book.

    Does anyone know how to add a preface page at the beginning of the book in ibooks author once the book is written? No matter how I try to add a Preface page, it goes to the end of the book.

    Thanks. I've tried this and apparently the template I'm using is one of those where it doesn't work. I've tried dragging it as well as cutting a pasting but it always travels back to the end of the book. Maybe I can try changing the template temporarily, move the preface page, and then convert back to the original template. I'll experiment a little.

  • Does anyone know how to add multiple pictures to a single frame in iMovie?

    Does anyone know how to add multiple pictures to a single frame in iMovie?

    Maybe you would be better off posting this in the iPhoto or iDVD categories of the forums.
    http://discussions.apple.com/category.jspa?categoryID=143
    http://discussions.apple.com/category.jspa?categoryID=128
    The answer to your question depends on what you ant to do with the DVD.
    Do you want a DVD menu, slide show etc.
    iPhoto will allow you to burn straight to a DVD. Just select the album you want to burn then go to share in the tool bar and select Burn.

  • Does Anyone know how to add a new partner to purchase order created on VI01/VI02?

    Does Anyone know how to add a new partner to purchase order created on VI01/VI02?
    Please, anyone knows that?
    Regards.
    Rafael.

    Anyone?

  • Does anyone know how to add a dateline in the website using muse?

    Does anyone know how to add a dateline in the website using muse?

    You cannot.
    You would have to add it to the mail server ( if you have an IMAP account), then it will appear on the ipad.

  • Does anyone know how to add my AOL email account?

    When I click on the AOL icon on "Select an email account to add" and follow the prompts, I get a message saying "system is unable to support the request".  Does anyone have any suggestions?

    Thanks.  It worked once I stopped trying to use the AOL icon and set it up as “Other Email”.
    From: Wildman
    Sent: Thursday, March 22, 2012 1:36 AM
    To: <personal information deleted per TOS>
    Subject: Re: Does anyone know how to add my AOL email account? - Re: Does anyone know how to add my AOL email account?
               Re: Does anyone know how to add my AOL email account?
                created by Wildman in DROID RAZR by Motorola - View the full discussion
    Message was edited by: Verizon Moderator

  • Anyone know how to fix error message: word cannot complete too many files open

    anyone know how to fix error message: word cannot complete too many files open
    thanks
    Ronny

    First, take a look at this thread, toward the end of the second page:
    https://discussions.apple.com/thread/1449787?start=0&tstart=0
    Your ansswer is there, somewhere.
    Unfortunately, you've not provided enough system information to solve this.(The only info is that you use a MacBook Pro.) This issue may have been addressed in a prior version. Update your Support Communitees Profile to include your current hardware, system, and devices.

  • Does anyone know how to add time using TIME function?

    Hi,
    I just switched from Excel (lol) and found an error in a key calculation i use. Does anyone know how to automatically add hours to a time? i.e. i have to convert Pacific Time to other U.S. Time Zones so in the past I used this formula in Excel (=B6+TIME(3,0,0)) which is now not working in Numbers. Is there an equivalent?
    Thanks for your help!
    Alexandra

    Hello
    The Terms of Use ruling this forum states:
    -+-+-+-+-+-+-+-
    +to help you resolve issues, ask questions, get tips and advice, and more.+
    +If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages.+
    +How do I post a question? ‚+
    +_If you searched the forums and didn't find an answer to your question or issue_, click the Post New Topic link at the top of a relevant forum page to post your own question.+
    -+-+-+-+-+-+-+-
    Your question was aked and responded many times.
    Searching in existing threads would have give you the response.
    When I try to help users in English, I often look in a dictionary but it seems that for many users, reading the Help or the PDF User's Guideis too much work.
    In cell D3, the formula is simply:
    =TIME(HOUR(B)HOUR(C),MINUTE(B)+MINUTE(C),SECOND(B)SECOND(C))
    which match the Numbers's syntax which, what a surprise, is not XL's one
    Yvan KOENIG (from FRANCE mercredi 28 mai 2008 17:39:56)

  • Anyone know how to add a spam filter for my webpage?

    Does anyone know how i can add a Security checkpoint for my site? Im getting to much SPAM mail in our page.
    PLEASE HELP

    Hi,
    Are you getting spams from the webform submission?
    Have you added capthca to your form?
    Regards,
    Aish

  • Anyone know how to add audio without image and still use autoplay feature?

    Does anyone know how I can add audio to a webpage without having to add an image and still be able to use the autoplay feature? Adding as hyperlink doesn't accomplish what I'm after. Thanks in advance for the education!

    You can use the "hidden" song file method...
    http://roddymckay.com/Satellite/CatchTheTide.html
    You don't have to hide it completely if you don't want to - just reduce it to a small dot.

  • Windows 8 - fails to find wifi interface, anyone know how to add it?

    windows network driver wifi

    Ooops, sorry, I hit return at the wrong time and this got posted accidentally.
    I have a MacBookPro 13" Late 2011 2.4 Ghz. Intel Core i5 with 4GB RAM and a 1TB disk drive divided into two partions about 2/3 Mac and 1/3 Windows.
    Windows 8 was installed, and when it boots I have no network connectivity.
    The wifi interface is not detected.
    The wifi interface is listed as en1, an airport extreme
    When I go to what used to be the "device manager", detect new hardware finds nothing, and there is no way as their used to be to add in a device that you already know is there - like select device from a list?
    I got rid of my Windows stuff years ago to avoid this, but now for an Oracle database class I must have access to a PC.
    Does anyone know how this kind of problem gets support ... from MicroSoft/Windows or Mac/Apple?
    I have no experience with Windows 8, but confident that most of it is intuitive and easier than it used to be ... I just cannot find a way to add in  the Mac Wifi adapter.

  • Does anyone know how to add my old iphone to my newly set up iphone 4 cloud account?

    I have an old I phone and would like to add all the info to my icloud account does anyone know how I can do this?

    Welcome to the Apple Community.
    Log into your iCloud account at settings > iCloud using the same account details and enable the services you want to use.

  • Does anyone know how to export photos on MacBook Pro to iPad without using iTunes?  The iPad is synched to another Mac and I don't want to synch the iPad to my Mac but just transfer photos

    Does anyone know how to transfer photos from a MacBook Pro to an iPad3 without using iTunes?
    The iPad is synched to another Mac and I don't want to change the synch relationship of the iPad but want to transfer some photos.

    https://www.dropbox.com
    being a Mac newbie try to google to do research.

  • Does anyone know how to get apple mail in Lion to connect with Exchange 2007?

    Does anyone know how to get apple mail in Lion 10.7.2 to connect with Exchange 2007?  It worked perfectly with Snow Leopard... upgraded to lion and it won't work.  We use Exchange 2007 with SP 3 and Rollup 4.  Won't connect... and I can't get Apple to give me any direction. 

    We finally got it to work today.  We had to call and pay for the microsoft support service, but the issue was on the server end.  We had to go into the iis manager... went to sites... when to default website...and changed the SSL settings for Auto Discover, EWS Exadmin, echange, exchweb, owa... and the rest..
    Change the settings to ignore client certificates.
    Problem solved. Can finally send and receive.

  • Does anyone know how my clients can sign my adobe pdf invoice with a signature pad

    Does anyone know how i can have my clients sign my adobe pdf digital signature field on my contacts on site with a signature pad?

    Make sure you click in the text box for username and password to bring up the keyboard.
    Try powering off your iPad by holding the power button and sliding the red slider when it appears, or try resetting your iPad by holding the power and home buttons together until the apple logo appears.
    I would also highly recommend an app for facebook, it's called MyPad.

Maybe you are looking for

  • Logs de XML não processado no NF-e incoming

    Olá pessoal, Estou precisando saber alguma forma de descobrir o que aconteceu com um xml enviado pelo fornecedor e que não aparece no monitor "NF-e centro de trabalho fiscal". Hoje quando um xml não aparece eu fico sem saber se tem algum serviço para

  • Help Need in Graphical Mapping.

    Hi Can you do help for mapping between my file structure to BAPI structure..this is auctully  file would call BAPI for 1: N(file having various headers and line items, each header and associated line items would able to call BAPI in target side). Now

  • Web browser only zooms, will not scroll

    Completely new to Palm here.  Have had the Pre Plus for a week on Verizon.  Having what I think is a minor problem that I can't seem to figure out and it is driving me crazy.  I did search these forums and haven't found anyone with a similar problem

  • The User Profile Service service failed the logon. the user profile cannot be loaded

    I have been runnung Vista home premium with no problems for some time. Now I want to add a second user. Each time I create a new user and then try to logon as the new user, I get this message: The User Profile Service service failed the logon. the us

  • How to install IGS for the ABAP trial version SP11

    Hi, Please can anyone provide me with the steps to install IGS for the ABAP trial version SP11. Which version of IGS to download? What are extracting the SAR files what steps should be followed? Please advice, Thanks, sam