Search:

Type: Posts; User: Json

Search: Search took 0.13 seconds.

  1. Replies
    5
    Views
    7,587

    Re: what is charAt(0) ?

    Not really :)

    But here goes, in most cases in Java, the index is zero based. So for instance in the charAt method you will have to use a zero to get the first character. However if you wish to do...
  2. Replies
    5
    Views
    7,587

    Re: what is charAt(0) ?

    Hello.

    The reason for the switch statement not liking "strTemp" being passed in is because you cannot use switch for checking strings. However if you use strTemp.charAt(0) you will get the first...
Results 1 to 2 of 2