Results 1 to 2 of 2
  1. #1
    RichersooN is offline Senior Member
    Join Date
    Jan 2011
    Location
    Rizal Province, Philippiines
    Posts
    167
    Rep Power
    0

    Default how to use Scanner to scan a String

    Hi guys,

    I know we can scan/read file using scanner, how can I scan String using Scanner.

    I planning to create a program that reads line by line.

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

Similar Threads

  1. Replies: 6
    Last Post: 05-09-2013, 08:51 AM
  2. scanner to read string or int
    By joecast in forum New To Java
    Replies: 3
    Last Post: 05-04-2010, 12:09 AM
  3. Scanner class with a String
    By claudius753 in forum New To Java
    Replies: 5
    Last Post: 03-25-2010, 08:27 AM
  4. String tokenizing with Scanner
    By vijaygk in forum Advanced Java
    Replies: 2
    Last Post: 07-15-2008, 04:44 AM
  5. Replies: 0
    Last Post: 11-20-2007, 04:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •