Results 1 to 2 of 2
  1. #1
    LetsG0Blue is offline Member
    Join Date
    Feb 2013
    Posts
    68
    Rep Power
    0

    Default Finding & counting certain letters in a sentence

    Can anybody point me out to a website that will help me out writing code to find a letter and count how many times it was used.

    Example.

    She sold sea shells by the sea shore.

    I need to count all the 's' and produce a number of times it was used via '7'

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    787
    Rep Power
    6

    Default Re: Finding & counting certain letters in a sentence

    Quote Originally Posted by LetsG0Blue View Post
    Can anybody point me out to a website that will help me out writing code to find a letter and count how many times it was used.
    String (Java Platform SE 6)

Similar Threads

  1. counting the vowels in a sentence
    By huntrguy102 in forum New To Java
    Replies: 3
    Last Post: 11-08-2010, 07:31 AM
  2. counting letters in a string
    By beandip408 in forum New To Java
    Replies: 12
    Last Post: 09-29-2010, 02:44 PM
  3. Finding a word in a sentence?
    By blackrabbit in forum New To Java
    Replies: 6
    Last Post: 07-23-2010, 12:07 AM
  4. Replies: 4
    Last Post: 05-07-2010, 03:06 PM
  5. Need help with counting letters
    By mrdestroy in forum New To Java
    Replies: 15
    Last Post: 10-22-2008, 02:33 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
  •