Pleasee help me

hi i am searching for a word in a file and want to write all the text following the word upto the endof the line
import java.io.*;
public class htmlpageparse
public static void main(String args[]) {
try {
BufferedReader in = new BufferedReader(new FileReader("sww.txt"));
// read until end of file
String currentLine = new String();
while((currentLine=in.readLine()) != null) {
//if the word matches
if(currentLine.equals("Early") )
in.write(readLine());
}catch(IOException e) {
System.out.println(e);
}

Please use the code tags!
this is compiling with out any bugs the thing isI don't think I beleive you. I think:
in.write(readLine());is throwing a compile time problem.
that i am not able to find out a string in the file
if(currentLine.equals("Early") )What does that line do?
Takes the current line, let us say "Long long ago when the earth was young", does it equal "Early". No
OK, so far so good, next line " the Earth Goddess Gaia got up early in the morning and had some corn flakes for breakfast".
Ahh, now does this equal "Early". No. Bu it does contain "early". Take a look at the API. Anything that suggests it will check if a string contains a different string?
Also "Early" and "early" have different case. So we need to convert them both to use the same case before you check. Anything in the API that looks like it return an uppercase or lowercase version of a string?

Similar Messages

  • Pleasee help me ,,my id could not use after my account to update id

    pleasee help me ,,my id could not use after my account to update id

    Hello, beersaditya. 
    Thank you for visiting Apple Support Communities. 
    I would recommend reaching out to our Apple ID account security team to assist you with this issue.
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • I cant read my yahoo mail, fonts have been redused a month ago, i do not know why, it looks like the font size is at 4 i need i at 12 pleasee help me fix this problem

    i no longer can read my yahoo mail , because the font size has been reduced to 2 from 10. Can you email me a fix

    -> Tap '''ALT''' key or press '''F10''' to show the Menu Bar
    -> go to Help Menu -> select '''Restart with Add-ons Disabled'''
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> '''Zoom''' -> click '''Reset''' -> '''Page Style''' -> select '''Basic Page Style'''
    -> go to View Menu -> Toolbars -> unselect All Unwanted/Incompatible Toolbars
    -> go to Tools Menu -> Clear Recent History -> '''Time range to clear: select "EVERYTHING"''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies, Cache''' -> click '''Clear Now'''
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> go to Tools Menu -> Options -> Advanced -> Network -> Offline Storage (Cache): click '''Clear Now''' button
    -> Click OK on Options window
    -> click the Favicon on SearchBar -> click '''Manage Search Engines''' -> select all Unwanted Search Engines and click '''Remove''' -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious/Incompatible Extensions (Add-ons) -> Restart Firefox
    -> go to Tools Menu -> Add-ons -> Appearance section -> REMOVE All Unwanted/Suspicious/Incompatible Themes (Persona) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons and Themes later. Check and tell if its working.

  • How do i get picture from my iphone that are not in my camera roll to my computer??? pleasee help been fiddling for 4 hours!!!

    i have been trying to get photo from my phone onto my new computer because i lost everything. i have got all the photos from my camera roll onto it but i can get the one that i put on there from my old computer. i did try download iexplorer but you have to pay for it in dollars im in the UK. i have noticed to that if i edit  few they go into the camera roll after but then how do i delete the orignals. please someone help its really frustrating me!!!!!

    The photo sync is one way - computer to iphone.  As the photos came from your computer in the first place, then they should still be there and should have been included in your regular backup copy of your computer.
    You can e-mail them to yourself.  they will not be of the original quality.
    The iphone is not a storage/backup device. It simply mirrors the selected content of your computer/cloud service.

  • Pleasee Help. Im just a kid i dropped my iphone 3g. and there is a big smash in the glass. the iphone itself still works though. and i dont know about the warranty i got it last year in august 2010 and now its May 2011?

    there is a smash. a crack whatever. i got it when it dropped on the concrete curb. i want to know how much or if it willl be free. becasue i dont want to pay money for it and i dont want my mom to either. i really need a solution! the LCD still works and the screen too. just the glass is cracked all over! there is this guy charging 55 bucks to rerpair it or should i go to apple??? Please help. Iphone 3G

    There is no warranty.  The 3G was not for sell in  August 2010 as "new" from Apple.
    They officially sunset the device in June of 2010 when the iPhone 4 was released.
    Regardless, user damage is never covered under warranty.
    Out of Warranty replacement is available, cost in the US is $199.

  • PLEASEE HELP!

    i was wondering if anyone can help me please!! URGENT! 
    model - blackberry 9320 
    i plug my charger in and it comes up with the charging icon saying its charging then a red cross appears in the middle of the screen.
    ive tried a different battery but still the same.
    can anyone pleaseeee helppp?? 

    Hi and Welcome to the Community!
    Please try this sequence...note that, throughout the entire 4h15m process, your BB must remain connected to a known-good wall charger (not PC USB):
    With the battery inside, connect your BB to the wall charger
    Leave it alone for 2 hours, no matter what the LED or the display does
    Remove the battery
    Wait 15 minutes
    Insert the battery
    Wait another 2 hours, no matter what the LED or the display does
    This has been known to "kick start" some BBs.
    It is also possible that your battery or BB has experienced a problem...to test, this sequence is needed:
    Obtain a known good and already fully charged additional battery...use it in your BB and see what happens
    Obtain access to a known good and identical BB...use your battery in it and see what happens
    The results of this will indicate if it's your BB or your battery that has the problem.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • PLEASEE HELP SOMEONE!! SKYPE WONT CONNECT!!!!!!

    I have done everything. Disable firewall this. reinstall that. install ealier versions. resintall, restart, install without firewall, start skype without firewall, open ports, allow it in firewall everything. Support can't seem to do much, nither can my antivirus support. Someone please help me my skype will not connect. I am forced to use skype for modern windows for now but it wont be available soon.  Windows 8.1 x64 Norton360 V21 (Anti-Virus)

    Try the suggestions in this earlier post I made: http://community.skype.com/t5/Windows-desktop-client/Skype-can-t-connect-and-log-in-after-changing-proxy/m-p/4021027/highlight/true#M352026

  • Someone PLEASEE help me with htis stupid thingg!! =[

    okay.. how do oyu delete songs off your ipod!?#%!%#@
    i accidently downloaded a bad song, its fake not what it said it was and i want it offfffff!!!
    please help!
    thanks =]

    "u can't erase anything!! i wish u could though i did the same thing"
    princess666, what are you talking about? See this.
    Deleting songs or playlists from your iPod.

  • Safari shut down pleasee help!

    hey everyone i was on safari when it just shut down and came up with a message that it has shut down with a report button im new to mac so i dont know what do think, its working fine now but im still worried please help
    thank you.

    If it happens repeatedly, it's cause for concern.
    If it starts happening more frequently or worse, becomes reproducible, hop over to the Safari forum and we'll try to help you out.
    Yang

  • How come i cant remove my card info and i dont have a choice of not having a card on my account it wont let me update or get any free games pleasee help

    I added a card to my account and now it wont let me remove the card and it wont let me update any of my apps or let me download any free apps

    Sign in to your iTunes Store account. From the menu bar click Store > View My Account
    Click the Edit button to the right of Payment Type
    Select None then click Done.

  • Pleasee Help , Urgent  , XML Parsing

    We should upload Sales Order XML File into OA Tables everyday .
    As I am very new to XML I request to give complete sample code ( giving just the logic needs time to understand, very urgent..)
    The current XML File can have mutilpe one sales order and each sales order can have many lines .Each line can have multiple taxes.
    Pls give the sample Code which you think is the best approach.
    I have used xpath(may not be right)
    I want to insert Parent Node / Child Node / Grand Child Done as one set of data.
    I used Xpath syntax , when I give the Parent node path in for loop, it inserts all parent nodes data at one time into the table , similarly all child nodes at one time .
    So I am unable to link grand child record with child record and parent record.
    To be specific , I am unable to trace these are the tax records for this line from this order.
    I have used xpath. I have loaded the xml file into table with clob variable
    l_OrderRequest_nodelist := xslprocessor.selectNodes(xmldom.makeNode(l_doc), '/Recordset');
    FOR rec IN 0 .. xmldom.getlength(l_OrderRequest_nodelist) -1 loop l_OrderRequest_node := xmldom.item(l_OrderRequest_nodelist,
    rec);
    end loop;
    we are not validating Sales order XML File with DTD or XSD .
    Please give sample code for parent / child /grandchild .
    Below is the sample file.
    - <Recordset>
    - <Header dueDate="2007-01-17T16:09:05" orderDate="2004-01-17" orderID="0009" transactionID="1389" type="new">
    <KeyIndex>2</KeyIndex>
    - <BillTo>
    - <Address addressID="5619" isoCountryCode="US">
    <Name>fMat</Name>
    - <PostalAddress name="default">
    <Street>34545</Street>
    <City>dfgfg</City>
    <State>AZ</State>
    <PostalCode>85086-1693</PostalCode>
    <County>Maricopa</County>
    <Country>US</Country>
    </PostalAddress>
    <Email name="default">[email protected]</Email>
    </Address>
    </BillTo>
    <PromotionCode />
    - <SubTotal>
    <Money currency="USD">32.49</Money>
    </SubTotal>
    - <Tax>
    <Money currency="USD">2.32</Money>
    <Description />
    </Tax>
    - <Shipping>
    <Money currency="USD">8.95</Money>
    <Description />
    </Shipping>
    </Header>
    - <Detail lineNumber="1" quantity="1">
    - <ItemDetail>
    - <UnitPrice>
    <Money currency="USD">29.99</Money>
    </UnitPrice>
    <ShortName>Little;reg; pxxxx® Learning System</ShortName>
    </ItemDetail>
    - <Tax>
    <Money currency="USD">1.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">1.68</Money>
    </TaxAmount>
    <TaxLocation>AZ</TaxLocation>
    </TaxDetail>
    </Tax>
    </Detail>
    - <Detail lineNumber="2" quantity="1">
    - <ItemDetail>
    - <UnitPrice>
    <Money currency="USD">29.99</Money>
    </UnitPrice>
    <ShortName>Little;reg; pxxxx® Learning System</ShortName>
    </ItemDetail>
    - <Tax>
    <Money currency="USD">1.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">1.68</Money>
    </TaxAmount>
    <TaxLocation>AZ</TaxLocation>
    </TaxDetail>
    </Tax>
    - <Tax>
    <Money currency="USD">0.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">0.68</Money>
    </TaxAmount>
    <TaxLocation>DISTRICT</TaxLocation>
    </TaxDetail>
    </Tax>
    </Detail>
    </Recordset>
    We are working on Oracle9i Enterprise Edition Release 9.2.0.6.0
    Thanks in Adv
    Kal

    very urgent..Unfortunately, there are 36 other urgent requests before yours.

  • Pleasee Help , URGENTT , Need sample code

    We should upload Sales Order XML File into OA Tables everyday .
    As I am very new to XML I request to give complete sample code ( giving just the logic needs time to understand, very urgent..)
    The current XML File can have mutilpe one sales order and each sales order can have many lines .Each line can have multiple taxes.
    Pls give the sample Code which you think is the best approach.
    I have used xpath(may not be right)
    I want to insert Parent Node / Child Node / Grand Child Done as one set of data.
    I used Xpath syntax , when I give the Parent node path in for loop, it inserts all parent nodes data at one time into the table , similarly all child nodes at one time .
    So I am unable to link grand child record with child record and parent record.
    To be specific , I am unable to trace these are the tax records for this line from this order.
    I have used xpath. I have loaded the xml file into table with clob variable
    l_OrderRequest_nodelist := xslprocessor.selectNodes(xmldom.makeNode(l_doc), '/Recordset');
    FOR rec IN 0 .. xmldom.getlength(l_OrderRequest_nodelist) -1 loop l_OrderRequest_node := xmldom.item(l_OrderRequest_nodelist,
    rec);
    end loop;
    we are not validating Sales order XML File with DTD or XSD .
    Please give sample code for parent / child /grandchild .
    Below is the sample file.
    - <Recordset>
    - <Header dueDate="2007-01-17T16:09:05" orderDate="2004-01-17" orderID="0009" transactionID="1389" type="new">
    <KeyIndex>2</KeyIndex>
    - <BillTo>
    - <Address addressID="5619" isoCountryCode="US">
    <Name>fMat</Name>
    - <PostalAddress name="default">
    <Street>34545</Street>
    <City>dfgfg</City>
    <State>AZ</State>
    <PostalCode>85086-1693</PostalCode>
    <County>Maricopa</County>
    <Country>US</Country>
    </PostalAddress>
    <Email name="default">[email protected]</Email>
    </Address>
    </BillTo>
    <PromotionCode />
    - <SubTotal>
    <Money currency="USD">32.49</Money>
    </SubTotal>
    - <Tax>
    <Money currency="USD">2.32</Money>
    <Description />
    </Tax>
    - <Shipping>
    <Money currency="USD">8.95</Money>
    <Description />
    </Shipping>
    </Header>
    - <Detail lineNumber="1" quantity="1">
    - <ItemDetail>
    - <UnitPrice>
    <Money currency="USD">29.99</Money>
    </UnitPrice>
    <ShortName>Little;reg; pxxxx® Learning System</ShortName>
    </ItemDetail>
    - <Tax>
    <Money currency="USD">1.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">1.68</Money>
    </TaxAmount>
    <TaxLocation>AZ</TaxLocation>
    </TaxDetail>
    </Tax>
    </Detail>
    - <Detail lineNumber="2" quantity="1">
    - <ItemDetail>
    - <UnitPrice>
    <Money currency="USD">29.99</Money>
    </UnitPrice>
    <ShortName>Little;reg; pxxxx® Learning System</ShortName>
    </ItemDetail>
    - <Tax>
    <Money currency="USD">1.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">1.68</Money>
    </TaxAmount>
    <TaxLocation>AZ</TaxLocation>
    </TaxDetail>
    </Tax>
    - <Tax>
    <Money currency="USD">0.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">0.68</Money>
    </TaxAmount>
    <TaxLocation>DISTRICT</TaxLocation>
    </TaxDetail>
    </Tax>
    </Detail>
    </Recordset>
    We are working on Oracle9i Enterprise Edition Release 9.2.0.6.0
    Thanks in Adv
    Kal

    Hi
    here is a quick demo:
    DATA: a,b, result(10).
    IF a IS Initial.
      Result = 'yes'.
    ELSEIF NOT a IS Initial AND NOT b is initial.
      Result = 'no'.
    Else.
    RESULT = 'abc'.
    ENDIF.

  • So when I first got my phone I had kik and tumblr on it but when I tried to update it my phone just deleted the apps . Now when I try to re install them it won't let me and has a box in the corner that says 17  Ireset my phone,deleted all my apps plz help

    I reset my phone , made a new account even deleted all my apps but nothing works . How do I remove the restrictions if any for the 17+ apps ? Pleasee help !

    It's set in Settings/General/Restrictions. You will need the Restrictions passcode to access the setting. Presumably someone placed the restriction on your phone. You need to talk to whomever set the restriction if it wasn't you.

  • IPhone doesn't appear in iTunes and neither do CDs!! PLEASE HELP

    So I am still unable to UNINSTALL AVG linkscanner for Mac and i feel this is really disrupting the mac since it doesn't update at all.
    Our iPhones and iPods are all unable to sync to the imac but they just charge. Also CDs are not able to appear on the mac when inserted but the mac OS X disc was able to appear on screen.
    pleasee help me get this fixed!! because the assistance we got was just saying to Restore it but I know there are other ways to fix it other than restore it

    The AVG Linkscanner install .dmg includes an uninstaller (with a trash basket icon).  If you don't have the .dmg file, you can download it again here:  http://linkscanner.avg.com/Mac/index.html

  • When I call someone the screen goes black and when I won't to end the call but I can't use the screen? Help

    Someone pleasee help me :)

    You can't turn the sensor off or on.
    First, try to reset the phone by holding the sleep and home button until the Apple logo comes back again. If thsi does not help, try to reset all settings in Settings/General/Reset -> reset all settings

Maybe you are looking for

  • Iphone apps requires another itunes account for updates

    Hi. Lets get right into it. I have my own account but when i try to update an app it asks for another guys account that i dont know! :O When i purchase an app from the appstore with MY account its completly fine and the app installs. But when there c

  • IdeaPad U310 touch: Can no longer enter bios after updating to latest version

    I flashed to the latest U310 bios (http://download.lenovo.com/consumer/mobiles/65cn99ww.exe). I switched to "legacy boot mode" (from UEFI), in an attempt to workaround a driver issue. Now, I'm no longer able to enter BIOS whatsoever. There are plenty

  • How to install cs2 discs on windows 7 machine?

    Hello, I am replacing an old xp machine with a new windows 7 professional machine, and I was wondering if my older version can work on 7 professional?  I have all discs, the software dates to 2003.  Thanks in advance.

  • ITouch software updates/manually manage music and videos

    Since I don't conventionally sync itunes and itouch, but manually manage my playlists and media, I'm beginning to understand that updating the ipod software means having to manually create my playlists again once the software resets to factory settin

  • Error -69, pls help..

    pls help me.. everytime i try to sync my iphone to update or upgrade to 4.3.1, it appears "The iphone cannot be synced. An unknown error occured (-69)." what do you mean by that? what should i do? it's been a month or two that i can't sync my iphone.