Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: 010010111001101 ?!

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Location
    JAVA Forums
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 010010111001101 ?!

    how can i read something like this 000100110111000101 and use it in method ?
    "Cutting"

    like take first 4 digits and if it 0001 : mean name of method , and second 4 digits : location of the file third 4 digits : ................... and so on !
    can any one help me with sample or example !
    in net beans 7.1

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,262
    Thanks
    176
    Thanked 820 Times in 763 Posts
    Blog Entries
    5

    Default Re: 010010111001101 ?!

    Once is enough, your duplicate post has been deleted. Please read the forum rules

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,095
    Thanks
    48
    Thanked 2,152 Times in 2,125 Posts

    Default Re: 010010111001101 ?!

    If that is a String, the String class has methods for extracting sub parts of it.
    The Integer class has a method to convert a String to an int.
    If you don't understand my answer, don't ignore it, ask a question.