One line between all the sentences

Hi all
I have a text file which has many sentences and there are number of newlines between these sentences are they are not unique some times they are 3 or 5 or 1
How can I make all the space just one??
i.e
I went to the park
I had 3 sisters
He is playing with his friend each Sunday
To be:
I went to the park
I had 3 sisters
He is playing with his friend each Sunday

Read the file skipping blank lines and storing the sentences in some type of array. Write the sentences back out, adding one blank line between each one.
Do you have any more specific questions about parts of that?

Similar Messages

  • HT201412 My I pad one jumps between all the different pages struggles to turn on/off open emails basically I think it is knackered can I get a replacement at half price if I trade mine in with apple?

    My I pad jumps all over the place struggles turning on / off flashes the I tunes cable on the screen tried holding both buttons to reset but does not clear it what can I do,can I take it bak to apple and get one for half price replacement? Thanks ian

    Have you tried restoring?
    iTunes: Backing up and Restoring iOS software 
    http://support.apple.com/kb/HT1414?viewlocale=en_US
    Device not responding or does not turn on
    http://support.apple.com/kb/TS3281?viewlocale=en_US&locale=en_US

  • How to get only one line between tables in database diagram?

    Hi!
    I'm using jdev 10.1.3. I've got a database schema with a lot of tables. I would like to have them in one database diagram in compact view with only ONE line between two tables even if there are more foreign key columns between the two tables. In the shema there are a lot of foreign keys with multiple columns and the diagram is hard to read.
    How to archieve this?
    Thanks,
    Carsten.

    hi,
    u should use the same variable across all your queries.In the WAD there is a propoerty "display same variable once". Check that.
    hope it helps,
    regards,
    Parth

  • Straight line through all the page

    Hi everybody!
    How can I make a straight and thin line through all the page, under my logo?
    I need the line to go from one to the other side of the page without interruption.
    I created an image in Photoshop: I drew my logo and the line under it. I gave to the line the same width of the DW default window (1099 px).
    Then I import the image as a .png with transparency, because it has to overlap every element in my web page.
    I put it out of the main container and gave it a "relative" position, but then, both live view and browser preview are different: the line moves left or right, I can't control its position...
    What is the easier and best way to create this graphic layout?
    Thank you.

    This is my screen.
    Now the logo and the line are part of the same .png image. But I can't give it the right fixed position on the page.
    I try to follow your instructions...
    Sorry if I can't explain very well, but I'm new with this program (and sorry for my english too)!

  • I have imac, macbook, ipad2, 2 iphone 4s and I want to share music, iphoto and apps between all the devices but keep e-mail and contacts separate and use icloud. How can I do that?

    i have imac, macbook, ipad2, 2 iphone 4s and I want to share music, iphoto and apps between all the devices but keep e-mail and contacts separate and use icloud. How can I do that?

    The ID for iTunes must be the same on both devices for it to automatically download purchases made on the other phone.
    For example, if you have been using [email protected] for iTunes, continue to do so. One of you could also use [email protected] for their iCloud account and the other one use [email protected] for theirs, alternatively you could use [email protected] and [email protected] for the two separate iCloud accounts.

  • I have an iPod nano 2nd generation and I want to download the songs I have on it to my new computer, as my old one crashed with all the songs on it.  I also got a new iPod and would like to transfer the old songs onto it. How do I do this?

    I have an iPod nano 2nd generation and I want to download the songs I have on it to my new computer, as my old one crashed with all the songs on it.  I also got a new iPod and would like to transfer the old songs onto it. How do I do this?

    Ok so sorry for clogging the community!! I figured it out - you have to copy your videos into itunes manually. I did that, synched and all good!

  • Text has just one line left on the bottom to write in.

    I have a BB Curve 8900 v5.0.0.900 (Bundle 1626, PkRDIEN 5.2.0.96) with T-Mobil service. I did the update for my phone a while ago. When I want to do a text message, the screen displays the previous message over most of the screen with just one line left on the bottom to write in. It makes writing a text a pain because I have to scroll up every time to make sure my text is correct. I've tried to live with this but I don't love it. Can I change this?
    Thank you,
    Girlfriend

    The easiest solution is VPN on Demand
    System Preferences -> Network -> (VPN) -> Advanced -> VPN on Demand
    Add the hostname/domain name of the resource you're trying to access over VPN to this list. Now the OS will track any access attempt to the specified hostname/domain and will automatically bring up the VPN connection (prompting for username/password if needed).
    As for the Dock icon, that depends on the resource you're accessing.
    If it's a file share, just mount the share manually then drag the share's icon from your desktop to your Dock. You can now click on the Dock to mount the sharepoint (initiating the VPN connection thanks to VPN on Demand).
    If it's a web site, drag the URL from your browser to your Dock. Clicking the icon will launch the URL in your preferred browser (again, triggering VPN on Demand as appropriate).

  • I upload a podcast each week using Podcast Maker. When I search the iTunes Store to determine if the most recent one is listed all the podcasts are in random order. This week's is

    I upload a podcast each week using Podcast Maker. When I search the iTunes Store to determine if the most recent one is listed all the podcasts are in random order. This week's is #14; last week's is #1. Any ideas how to correct this? The odd thing is that when you try to subscribe to the podcasts, they are listed in the proper order.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Is there a way to get to a certain measure without having to scroll the line thing all the way there if our file is hours long?

    Is there a way to get to a certain measure without having to scroll the line thing all the way there if our file is hours long?

    CNWSMT wrote:
    Is there a way to get to a certain measure without having to scroll the line thing all the way there if our file is hours long?
    double click the measures display (the LCD) and type in the measure

  • We have family sharing set up between all the family idevices. Can we share either Notes or a Pages document between devices?

    We have family sharing set up between all the family I devices. We want to collaborate on a document.  Can we share either Notes or a Pages document between devices?  We are all using iPad 2 or later and/or iPod touch or iPhone 5

    The "Sharing" part of Family Sharing refers mainly to purchased content. iCloud synced content such as Notes and contacts as well as documents is not included. While I do not know of anyway to share notes, iWorks documents can be shared directly from the app via an iCloud link.

  • I upgraded from v3 to v6. Firefox Sync lost hundreds of my bookmarks - it kept all the organised ones, but lost all the unsorteds. I'm now facing an inquiry at work, and could cheerfully kill Mozilla. However, is there any way to fix this?

    I upgraded from v3 to v6. Firefox Sync lost hundreds of my bookmarks - it kept all the organised ones, but lost all the unsorted's. I'm now facing an inquiry at work, and could cheerfully kill Mozilla. However, is there any way to fix this?

    I did read what you posted, and will point out once more - the organised bookmarks were kept, the unsorted - the majority - were lost. I tried accessing them THROUGH sync as I couldn't find them before I started sync and thought that might help. Really didn't. Sync was only loaded with version 6, never used it on 3. Updated from 3 to 6; tried to find bookmarks. All unsorted ones GONE. accessed sync; no bookmarks. went back to three. never shifting again, version 6 is a quick trip to hell. Should have known not to trust the program to preserve bookmarks, blame myself for being so bloody stupid to trust it to keep my information safe. Moral: always save multiple backups.

  • Where does one search for ALL the APPS that are available?

    Where does one search for All the apps that are available ?

    If you don't see any messages, not have anti-malware running or the Firewall on, try installing the Mac OS X 10.6.8 Update Combo
    It's ok to do this even though you are already running v10.6.8 (according to your profile).
    Restart your Mac after the combo in installed, try the App Store.
    Also... if you have an app called Little Snitch installed, that can prevent a connection to the App Store.

  • What is the best approach for Continuously reading all DI lines of all the ports of a DIO device?

    Hi! I am new to Labview ..... I want to monitor all the DI lines of all the ports of a device .... What should be my approach?

    same as this
    http://forums.ni.com/t5/LabVIEW/What-is-the-best-approach-for-Continuously-reading-all-DI-lines/td-p...
    Tim
    Johnson Controls
    Holland Michigan

  • ITunes says my computer isn't authorized to play one song, but all the rest of them work. The song works on my iPad so why won't it work on my computer or my iPod?

    iTunes says my computer isn't authorized to play one of the songs I just downloaded, but all the rest of them work. That song works on my iPad so why won't it work on my computer or my iPod? It says my computer isn't authorized to play that song so I type in my password and it pops up with a menu saying my computer is already authorized and it skips to the next song. No matter what I do it won't play that song on my laptop or my iPod.

    Could be a Corrupt download of that song...
    If you live in a Region that allows re-downloading Music...
    Delete the Song(s) and re-download...
    See Here  >  Download Past Purchases
    http://support.apple.com/kb/HT2519
    If not... Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • How do i transfer songs from my old ipod to my new one when not all the songs are on my itunes account?

    I got a new ipod touch. my old ipod is a nano.  i have an itunes account, but it is very old and i do not remember my itunes account information. most of the songs from my old ipod are not on my itunes account. how can i get all the songs from my old ipod onto my new one?

    Transfer non-iTunes purcased music from the iPod to the computer by using a hird-party program like one of those discused here:
    Copy music from Ipod to new computer...: Apple Support Communities
    Transfer iTunes purchased by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    You do have to know the accout(s) ID and password.
    The follwing includes how to reset your password.
    Frequently Asked Questions About Apple ID

Maybe you are looking for

  • Acrobat Reader Firefox plugin and permissions

    There must be a simple answer to this, but I can't seem to figure it out... If I open a pdf file in my browser and try to "save a copy", I'm informed I must be super user to do this... I can save the page through the browser's file menu ok, so this i

  • Lost video after exporting audio from mpeg-4

    I have some mpeg-4 files of my band and wished to improve the audio. I chose the Export Audio option and yes, managed to create an audio only file but seem to have lost the video. Have I lost it permanently or is it still lurking somewhere? I suspect

  • SanDisk Clip Jam Support Information Page

    http://kb.sandisk.com/app/answers/detail/a_id/16717/  Current Firmware Version 1.03 Clip Jam FW 1.03 Downloads Quick Start Guide User Manual Warranty Limited warranty: World wide -2 year FAQs 1. A ''memory is full... delete 20M content'' error messag

  • Logged on to my account but they are giving a different number with my details.

    Money was disappearing from my pay as you go without me using it. I went on line to check my account, it has a different number with my details. I tried to ring Orange & EE but they do not put me through to talk to some boy. I do not want to top up a

  • Inconsistent values in Info Panel and Transform Panel

    Does anyone know what circumstances would cause inconsistent values for Width and Height to be shown in the Info Panel vs the Transform Panelin AI CS6?  For instance,  I have a vector object selected and the Transform Panel has "80 in" for the width