×

Discussion Board

Results 1 to 2 of 2

Thread: String question

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    31

    Question String question

    hi
    i want to know if in jme exist an function that take an string and changes individual letters, for example, i got the next string:
    "hello"
    and i want that the "e" become "#"
    and the result, will be "h#llo"
    or, how can i make this change?
    thanks

  2. #2
    Registered User
    Join Date
    Feb 2008
    Location
    Russia, Samara
    Posts
    47

    Re: String question

    String myStr = "hello!";
    myStr = myStr.replace('e','#');

Similar Threads

  1. Replies: 5
    Last Post: 2007-08-28, 19:31
  2. call string handling
    By marycore in forum Symbian
    Replies: 3
    Last Post: 2007-07-16, 12:51
  3. Service Registration question
    By asmatic in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-07-21, 10:04
  4. newbie question: how to compare string
    By wangshengjiong in forum Symbian
    Replies: 3
    Last Post: 2004-12-23, 20:58
  5. Question about storing data in RecordStores...
    By dwneonstar in forum Mobile Java General
    Replies: 3
    Last Post: 1970-01-01, 02:00

Posting Permissions

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