Results 1 to 3 of 3

Thread: String to Int

  1. #1
    CristianBF is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default String to Int

    I'm trying to make a text string into a int number, created by the computer, without using any kind of special code.

    "Hello" -> "012300121" //I'm not sure what kind of number it you become

    Is there anyway it could happen?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    You can change String to a hashcode number if desired, but I don't know of a way of going the other way. What is this all for? Why are you doing this?

  3. #3
    CristianBF is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

Similar Threads

  1. combine string[] into string like perl's join function
    By tekberg in forum Advanced Java
    Replies: 9
    Last Post: 02-23-2009, 02:05 PM
  2. Replies: 5
    Last Post: 01-11-2009, 11:12 AM
  3. Replies: 0
    Last Post: 11-20-2007, 05:59 PM
  4. Replies: 1
    Last Post: 08-07-2007, 08:29 AM
  5. Replies: 1
    Last Post: 08-03-2007, 11:52 AM

Posting Permissions

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