Any one can teach me how to use scanner method

in the scanner method has a use useDelimiter(). how to use that
Please help
thanks

    public static void main(String[] args) throws Exception {
        Scanner s = new Scanner("nightsky_ting_didn't_consult_the_javadocs");
        s.useDelimiter("_");
        while (s.hasNext())
            System.out.println(s.next());
    }

Similar Messages

  • Hi there. Any one can tell me how erase cookies under the new safari Version 5.1 (7534.48.3)? Any one?

    Hi there. Any one can tell me how erase cookies under the new safari Version 5.1 (7534.48.3)? Any one?

    Click on the Safari menu then click on preferences the click the security icon.

  • Help: Any one can advice, CVI software is using Big or little endian?

    Help: Any one can advice, CVI is using Big or little endian? 
    or is depend on the processors my HW is using?

    The correct answer it the third one: CVI adapts to the hardware architecture you are running on. In the Programmer's Toolbox you have functions to detect the hardware architecture: HostIsBigEndian and HostIsLittleEndian. In the group you have functions to convert data between architectures.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Have filter function in iOS' numbers? Any one can teach me?

    Hi, any one know in iOS' number have filter function? I really no idea about this. Who can teach me?
    Thanks....

    You can read the online Numbers guide here: http://help.apple.com/numbers/ipad/2.2/

  • Does Any one can indicate me how to delete recovered files found on the trash can?

    I´ll appreciate very much your help indicating me the best way to delete recovered files found on the trash can.

    The Getinfo pane has several sections. Next to the top is "General". At the bottom of that section, under the row of colored dots is a checkbox,  [√] Locked (and not checked means not locked).

  • Can any one can help me.....

    Hay any one can contact me who is using D.S 9i and has worked on Javabean so please contact me, Actually I want to use Javabean in my forms but from the last week I am just visiting internet and contacting people for help...Much people helped me very nicely and they provided much documents to me and I have learned much by reading them but javabean is not running,
    I moved the jars file to d.s\forms90\java directory, I have set and added the jars file in both of the environment variables (CLASSPATH,forms_builder_classpath) and setted them too in the CLASSPATH variable which exists in the default.env + added the jars file too into archive and archive_jini variable in formsweb.cfg but when I run the form and when its start, the explorer is running only I can see the mesage ''Applet started" nothing else ....I do not know much regarding javabean and I do not know how to set its implementation property, I downloaded the form by a good website... So if any one is using javabean or he is a good developer so please contact me.... I will be waiting as I have done all the things for using the javabean but it is not running....Thanks....

    Hello Mr.Faheem,
    Thanks for sending the reply, any way how to assign a jar file, actually I downloaded the jar file from a website with the instructions of how to use a javabean but I didnt suceeded,I tried a lot but not got the form running. Send me to how assign the jar files.

  • How to use addPasswordToPasswordHistory method

    Hi
    Can some one please tell me how to use the method addPasswordToPasswordHistory from the class WSUser.I have a requirement to add user password to password history whenever user changes his password through my custom password change workflow.Custom workflow changes the password in idm but it will not add the previous password to the password history.
    It will be helpfull if you paste the code to use this method
    Regards
    Karthik P

    Hi Amar
    Thanks for the reply
    I tried setting the password through setPassword method but its giving an exception ==>java.lang.NoSuchMethodException: java.lang.String.setPassword(com..waveset.util.EncrypteData)
    Then I decrypted the password but no luck getting ==>java.lang.NoSuchMethodException: java.lang.String.setPassword() exception.
    Am i missing something here.do i need to pass the encrypted password in byte array format? if yes how to do that.
    Here encrypted password is coming from a form.
    regards
    karthik p
    .

  • Can any one suggest me how to use drawPixels method for 40 series devices

    Hello!
    I am using drawPixels method of DirectGraphics class the code I have written is :-
    Image offscreen=DirectUtils.createImage(width,height,0x00000000);// width and heights are integer value
    public final int MODEL=DirectGraphics.TYPE_INT_8888_ARGB ;
    Graphics offgra = offscreen.getGraphics();
    DirectGraphics directgraphics = DirectUtils.getDirectGraphics(offgra);
    directgraphics.drawPixels(imgData,false,0,width,0,0,width,height,0,MODEL); // imgData is a int array(int imgData[]) which contains required pixels of image.
    The above code is working fine with NOKIA 60 series device but when i use it with NOKIA 40 series device it gives java.lang.IllegalArgumentException.
    same time if i use :-
    directgraphics.drawPixels(imgData,false,0,width,0,0,width,height,0,DirectGraphics .TYPE_USHORT_4444_ARGB ) ;
    // imgData is a short array(short imgData[]) which contains required pixels of image. i have used different formet here.
    it works fine with 40 series device,
    can any one suggest me how to use drawPixels method for 40 series devices with format
    DirectGraphics .TYPE_INT_8888_ARGB .

    If Remote wipe is activated it can't be undone. And Once the Wipe is done, the device can nö longer be tracked.
    Sorry.

  • Help needed I updated my ipad2 with iOS5 but few of my dashbaords are not working now can any one let me know how to downgrade the OS

    Help needed I updated my ipad2 with iOS5 but few of my dashbaords (HTML5) are not working now ,can any one let me know how to downgrade the OS as we have a meeting coming up .. its urgent

    Downgrading the iOS is not supported. If you are using Safari this try clearing its cache via Settings > Safari.
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.

    I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.
    I saw the below quote on Adobe forum
    "You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each."
    If i install each application in single single system the system count is more than two. In this case, are we have any license issue? Please advice how the problem will solve?
    If possible please send the advise to my mail id: <Removed by Moderator>
    Thanks
    Uvaraj S

    I already answered that.  If you purchased a Suite then you can only install and activate it on two machines.  Even if you only insdtall one of the applications of that suite, it counts as one activation of the suite.  You cannot take the six or seven different applications that might be in a suite and install and activate them in six or seven different machines... only two machines.
    If your scenario will allow for it, one thing you can do is install the programs on all the different machines and only activate two of the machines at any given time.  If you need to activate a program on a third machine then you need to deactivate on one of the currently activate machines first so that you have an open activation to use again.  I do not remember if there is a limit to the total number of activations you can process for the life of the software.

  • Can any one please send me sample programs using java mapping..

    <b>Can any one please send me sample programs using java mapping with input and output?</b>
    please let me know how to get started with java mapping?
    Prerequisites for java mapping ?
    What are the jars need to be deployed for SAX,DOM.  And how to do it in NWDS?
    Use of Execute() and setparameter() ... StreamTransformation?
    Some sample program using java mapping with simple logic(input and output)?

    Hi,
    Did you go thro these blogs?
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    Nice blogs to start Java Mapping.
    Go thro this one too.
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    Regards,
    P.Venkat
    Message was edited by:
            Venkataramanan

  • Any one can help how to install sharepoin2013 in multi servers .any deployment guide please provide

    Any one can help how to install sharepoin2013 in multi servers .if you have any  guide please provide

    I am sharing few links which can be helpful for you to understand and install/configure multi server sharepoint environment.
    Install SharePoint 2013 across multiple servers for a three-tier farm
    Test Lab Guide: Configure SharePoint Server 2013 in a three-tier farm
    Install and Configure SharePoint farm (3 -tier)
    Office Web Apps 2013 multi servers (NLB) Installation and Deployment for SharePoint
    2013 step by step guide
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • Does any one can guide how to lock particular App with password?

    Does any one can guide how to lock particular App with password?

    CaptinSprinklez wrote:
    Yes, do these steps,
    Have you tested this throughly?
    As an example 'lock' Safari via your method.
    Now use Spotlight to search for Safari, tap it - is it 'locked'?
    Now go to your email & find a link to click - Safari opens again.
    Guided access is not a 'lock' in any sense of the word, it is a tool designed to stop things happening, but many apps have multiple ways to be found or launched you can't easily block them all.
    Mallik_Hyderabad, iOS doesn't have this feature & Apple do not seem interested in adding it (7.5 years & it still isn't an option) - use a passcode with a lock screen timeout if you have any sensitive data on the device or get an Android device.

  • I have a big problem with my Iphone 4...the pics and videos that i capture, often shows as inverted or orientted by 90/180/270 degrees. photos, one can rotate, but how about videos... is there any way i'm going wrong? this wasn't happening earlier

    My question...
    any answers pl.
    I have a big problem with my Iphone 4...the pics and videos that i capture, often shows as inverted or orientted by 90/180/270 degrees. photos, one can rotate, but how about videos... is there any way i'm going wrong? this wasn't happening earlier

    If I've understood you correctly then the ALLEXCEPT function may be what you're after and it could be applied in a similar way to the following...
    =
    RANKX(
    ALL(Table1),
    CALCULATE(
    COUNTROWS(table1),
    ALLEXCEPT(Table1, Table1[ContactReason])
    DENSE
    If this has missed the mark, would it be possible to clarify the requirement further?
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com
    Blog: http://www.nimblelearn.com/blog
    Twitter: @nimblelearn

  • Can any one let me know how to  find out current internet explorer version

    Can any one let me know how to find out current internet explorer version

    Don;t use annoyed repeated words. Try to explain exactly what is your problem.
    <script LANGUAGE="JavaScript">
    document.write("Your browser Name: <B>" + navigator.appName + "</B>.<br>")
    //Detect IE Version Only
    if (navigator.appVersion.indexOf("MSIE")!=-1){
    var temp=navigator.appVersion.split("MSIE")
    var version=parseFloat(temp[1])
    document.write(" Your Browser version: <B>" + version + "</B>.")
    </script>

Maybe you are looking for

  • How do i transfer 2011 Birthdays to this year (2012) in iCal

    How do i transfer 2011 Birthdays to this year (2012) in iCal? It seems I have to do it manually at the moment?

  • UK Payroll Modul for SAP Business One

    Dear all, is there already a Payroll Add-On or Modul Solution available for SAP Business One for the UK Market? Regards, David

  • Delete email from server hotmail

    Hey,      I have a 3GS, I have recently updated to IOS 5. I used to be able to select whether or not to delete mail from the Hotmail server when I delete the mail from the iPhone, I basically use the iPhone as a preview device, delete them from the p

  • Ipod Nano Syncing with itunes issue

    I have 3 user accounts on one computer. 2 of users recently purchased songs and these have been shared with each other so they show and play on their individual itunes.  Problem is the purchased songs of user1 will not sync with user2 ipod and vice v

  • How can I find out the audio sampling rate of BetacamSP tape?

    Hi guys I'm trying to digitize BetacamSP tape. But I'm afraid if I might choose wrong setting... This tape is from very long time ago so we don't know which audio sampling rate we recorded with.. How can I find out the audio sampling rate of this Bet