Is there any String format class available in J2ME?

Hello,
I am looking for a Formating class which should format a string. For example ( This is Java SE code):
int num = 999;
            String str = " is my lucky number.";
            String s = String.Format("The Number : %d %s", num, str);I could not find any formatter class nor any direct api from String/StringBuffer class to format a string.
Any suggestion on this is highly appreciated.
Thank You.
Regards,
DK

sojourner_jdk wrote:
Hi DarrylBurke,
You are right. Its not "Format". String has "format" function ..
String s = String.format("The Number : %d %s", num, str);Is there such class/api in J2ME?
Thanks,
Regards,
-DKIn J2ME MIDP, [String has no "format" function|http://java.sun.com/javame/reference/apis/jsr118/java/lang/String.html|javadoc].

Similar Messages

  • Hi is there any XMLDocument data type available in SOAP libraries

    How to convert string to XML Document data type and is there any XML Document type available in SOAP Libraries&j2ee api?

    Hello Pradeep,
    I attached a code sample. But if xString is no valid type it wont help.
    Regards,
      Klaus
    report Test .
      data:
        serialized_Data     type xstring,
        orig_Strings        type string_Table,
        clnt_Strings        type string_Table.
      field-symbols:
        <cur_String>  type string.
    * data provider
      do 10 times.
        insert initial line into table orig_Strings assigning <cur_String>.
        <cur_String> = sy-Index.
      enddo.
      sort orig_Strings descending.
      export data = orig_Strings to data buffer serialized_Data.
    * client side
      import data = clnt_Strings from data buffer serialized_Data.
      loop at clnt_Strings assigning <cur_String>.
        write: / sy-tabix, <cur_String>.
      endloop.

  • How to check whether follow on document is created for sc or po,is there any table or fm available?

    How to check whether follow on document is created for sc or po,is there any table or fm available?

    Hello Venu
    Check FM: BBP_PD_SC_GETDETAIL and BBP_PD_PO_GETDETAIL table E_HEADER_REL
    Check this: SRM Shopping cart and PO tables link
    Regards

  • Is there any "Tesseract OCR API" available for "IOS SDK 7.0" ??

    I want to make an application in IOS SDK 7.0 with Xcode 5 that required "Tesseract OCR API". So, Is there any "Tesseract OCR API" available for "IOS SDK 7.0" ? if any, please post the download link.
    Thanks

    I went on with the instructions and it worked properly with whitebackground image with black colored texts and it provide garbage value results with colored images. However when I try to run it on XCode 5.1 it shows "Caanot initialize an object of type 'Tesseract *' with rvalue 'BOOL' in the  "
    (id)initWithDataPath:(NSString *)dataPath
                  language:(NSString *)language
             ocrEngineMode:(NSString *)mode
           configFilenames:(NSArray*)configFilenames
                 variables:(NSDictionary*)variables
    setOnlyNonDebugParams:(BOOL)setOnlyNonDebugParams" method.
    And when I try to modify it then it display many linker errors.

  • I have recently updated to ios5 and when restoring apps etc it says my backup needs a password, i password that i cannot for the life of me remember...is there any 'forgotten password' option available for the backup please?

    i have recently updated to ios5 and when restoring apps etc it says my backup needs a password, a password that i cannot for the life of me remember...is there any 'forgotten password' option available for the backup please?
    i'm desperately in need as EVERYTHING my life revolvesaround is on there

    i have recently updated to ios5 and when restoring apps etc it says my backup needs a password, a password that i cannot for the life of me remember...is there any 'forgotten password' option available for the backup please?
    i'm desperately in need as EVERYTHING my life revolvesaround is on there

  • Is there any standard Atrition Report Available

    Hi Experts,
    Is there any standard Atrition Report Available.
    Regards,
    IFF

    Hi,
    Std report has EE entry and left and Staff changes. If these helps for ur req use it else create a new report for attrition. Mostly std report will not covers the orgn attrition report..
    http://help.sap.com/saphelp_47x200/helpdata/en/48/35d4ad4abf11d18a0f0000e816ae6e/frameset.htm

  • Is there any Similar between Class.forName() and new operator ???

    Plz tel me is there any Similar between Class.forName() and new operator ??? i have been asked this ques in interview

    You probably should have used the other thread:
    http://forum.java.sun.com/thread.jspa?threadID=792678
    To add a little confusion to the matter...Class objects are in fact objects. They're objects representing classes. So, in a sense, I guess, you could say they're similar -- in each you get an object. But in practice Class objects and all other objects should be considered semantically different unless you're doing some pretty unusual stuff. Also Class.forName is more of a factory method than a constructor.

  • Is there any Fm or Bapi available to see the direct reportees of a manager

    Is there any Fm or Bapi available to see the direct reportees of a manager
    i have the managers id could i get the employees under that manager
    is there any SAp fm for the same

    Like Aditya, I have not seen such a function module. However, there is a standard evaluation path which may be suitable for your purpose. It is called BOSSORG and will give you all the employees under a manager.
    Use it with function module RH_GET_STRUCTURE or RH_STRUC_GET. The latter lets you specify parameters directly, while the former takes them in container form. None of them are released for customer use unfortunately, but I haven't found a corresponding function module that is released.

  • Is there any seeded graphical report available in OPM quality module.

    Dear All,
    I have two queries in OPM quality module.
    1.Is there any seeded graphical report available in OPM quality module?
    2.Is there anything like Collection plans of collecting multiple elements and doing an analysis based on the Collected elements in OPM quality?
    We need to map these two requirements for a OPM customer.
    please send your comments.
    Thanks
    Suresh

    Dear Aditya
    To my knowledge, there is no such report and need to go for Customization. Hopefully what you asked is simple report which is possible to customize.
    Regards
    Raj

  • Is there any String variable or something what have input and output data?

    Is there any String variable or something what have input and output data?
    Solved!
    Go to Solution.

    elefank wrote:
    I have a "A"String and i want to merge this "A"String  an other "B"String and I want to get it back to the "A" String 
    I would store the A String in a shift register and then you can use Concatinate Strings whenever you want to add the additional characters to it.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Are there any video capture devices available on Linux?

    Are there any video capture devices available on Linux?

    If you have a tv tuner card with either an s-video or av/ composite connection, then you can use that under linux with a digital video camera (dv camera). I can help if you are interested. Hope this helps!

  • Is there any forums formated specially for iPhone?

    Is there any forums formated specially for iPhone? I need it so i can direct people for a game. thanks

        brooks2062,
    Congratulations on recently purchasing an iPhone! I have the iPhone myself and love it, so I am sure you will as well. In regards to downloading music on your device, the best way to complete this task is going to be going through iTunes or the Apple App store. The Apple App store should have several 3rd party applications you can download music and play on your device. In addition any music that you have saved in your iTunes library can be synced and transfered to youre device.
    Thank you,
    Georgep_VZW
    Follow us on Twitter @VZWSupport

  • Is there any way to send sms through j2me

    hi all,
    is there any way to send sms through j2me or any way to communicate with real device through emulator or from emulator to another emulator
    any sugesstions appriciated
    abdul rafiq jani
    applitech solution limted

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Are there any BI Content Dashboards available for SCM/Procurement module?

    Hi,
    We are trying to find out if there any Standard Dashboards/Reports that come with standard BI Content for SCM module/Procurement.
    From the below link, we could find only two dashboards (Warehouse Performance Dashboard and Labor Management: Executed Workload) are available,
    BI Content Extension - BI Content &amp;amp; BI Content Extensions - SAP Library
    Could anyone please guide us if there are more Dashboards that comes as standard BI content for SCM/Procurement module
    Also please let us know in which path in BW installation we can find the standard BI Content Dashboard's source files (XLF files) and whether can we edit these Dashboard files?
    Thanks and Regards,
    Ram

    Dear Ram,
    SAP as released only few dashboards in BI Content,  you can find out the list dashboards provided by application level in below link.
    Guide to Embedded Analytics inside the Business Suite: A Webcast Summary
    I don't think we have any SCM related dashboard's released by SAP right now.
    You can get most of the Information related to Embedded Analytics in below link.
    http://help.sap.com/erp2005_ehp_06/helpdata/EN/15/02ed89910147afbf4a6681cd36d264/content.htm?frameset=/en/82/0778bd964e46eab4d4f3207919ac49/frameset.htm
    Creating & Editing standard Dashboards.
    Creation of Xcelsius Dashboards - Embedded Analytics - SAP Library
    Hope this helps.
    Regards,
    Suman T

  • Are there any BAPI or FM available to create partners for a customer ?

    Hello,
    Are there any BAPI or standard FM available to add new partner for a customer ?. The new partner is an existing customer.
    Thanks,
    Jay

    Hi,
    Can any one let me know if i can create a customer using BAPI with personal data and with out any reference customer number. If i create with reference number the partner functions are picked up from here while creating the new customer.
    Thanks in advance.

Maybe you are looking for

  • I can no longer burn cd's in itunes, get the msg 'disc recording not found'.

    I have followed advice from other users and tried the following: >repair /install. >re-install. >updated to latest version. Nothing works so i would really appreciate some help, but please note i am not very techie! thanks.

  • ITunes Match showing different content on different devices

    I have recently signed up for itunes match and have connected three devices as follows: Windows 7 x64 PC running latest itunes 10.5.2.11 Apple ipad version 1 64gig 3G with iOS 5.01 iPhone 3GS 16gig with iOS 5.01 I have matched 4900+ songs from my PC

  • Recover bookmarks

    I was having issues with my firefox (errors, crashes, freezing, etc) so I decided to do an uninstall then a reinstall to see if it would fix. But before doing this I had set up a firefox sync account, and i made it to sync all my bookmarks. Of course

  • Application ID From superclass?

    If I have the followign structure: class Foo { String id; class Bar extends Foo { // .. other stuff is it possible for me to use the id field of Foo as the application id for bar? EG: <class name="Foo" objectid-class="java.lang.String"> <field name="

  • Hesitate with Statement and PreparedStatement!!!!!!

    i create a test to make clear the 2 thing's diffrience, Test use tomcat4.1.24+mysql,test times more than 15 per test situation: 1:create a Connection to mysql,create a Statement object, use this Statement object to query a sql,use time for 411ms; 2:c