Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User tertiusbouwer's Avatar
    Join Date
    May 2006
    Posts
    7
    Hi all,

    I am writing a app using midlets and I know this is a simple question but can someone please tell me how to convert a String to int and then back to String again.. I have done this a long time ago and for some reason I can't seem to find it anywhere..

    Thanks for your time and affort!!
    Regards,
    Tertius.

  2. #2
    Registered User juarezjunior's Avatar
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,883
    Gee, check the Javadocs...

    Integer.parseInt(s) - public static int parseInt(String s)

    String.valueOf(i) - public static String valueOf(int i)

    BR,

    Juarez Junior

Similar Threads

  1. AddNewDocumentL(...) alters WindowGroup's AppUid, cannot get it back
    By Marat Khalili in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-09-30, 02:58
  2. Different languages
    By shahzad73 in forum Mobile Java General
    Replies: 5
    Last Post: 2005-08-05, 07:31
  3. Translating graphics
    By Christian V Petersen in forum Mobile Java General
    Replies: 4
    Last Post: 2005-06-09, 03:00
  4. image pixel operation possible?
    By huiben in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2003-08-29, 21:32
  5. Using ResourceBundle
    By asil810 in forum Mobile Java General
    Replies: 3
    Last Post: 2003-05-05, 13:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved