Results 1 to 4 of 4

Thread: i need help

  1. #1
    Talal is offline Member
    Join Date
    Jul 2011
    Posts
    5
    Rep Power
    0

  2. #2
    delican is offline Member
    Join Date
    Aug 2011
    Posts
    13
    Rep Power
    0

    Default

    use String.ToCharArray and get char array.

  3. #3
    stchman's Avatar
    stchman is offline Member
    Join Date
    Apr 2011
    Location
    Saint Louis, Missouri
    Posts
    97
    Rep Power
    0

    Default

    Quote Originally Posted by Talal View Post
    how can i change string to character
    If your string contains multiple characters you will need to use the charAt() method.

    ex:
    Java Code:
    String s = "abcde";
    char c = s.charAt( 3 );
    That will give you the letter 'd'.
    If you aren't programming in Java, well that's just too bad.
    I'd rather be using Ubuntu.

  4. #4
    Talal is offline Member
    Join Date
    Jul 2011
    Posts
    5
    Rep Power
    0

Posting Permissions

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