JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Java Essentials
>>
Java Programming
Appending a string (not at the end but in the middle)
This is the scenario, i got a string "i am a man", the user will key in something like "sad" and it will become "i am a sad man" how do u do this?
[160 byte] By [
Alandera
] at [2007-11-27 2:34:14]
««
java6 and javamake
»»
questions about the installation of SAM
# 1
So, it's not an append but an insert. http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html2 substring and 2 concat
rym82a
at 2007-7-12 2:51:29 >
# 2
erm can show me an example? plsthank you
Alandera
at 2007-7-12 2:51:29 >
# 3
When don't you try the link I have given first ?You learn more by trail and error than get an answer from me."I am a man" -> "I am a" with "man""I am a" with "sad" with "man" -> "I am a sad man"
rym82a
at 2007-7-12 2:51:29 >
Java Essentials
applet not displaying
System.getProperty doesnot work
Remove applet from this code
"Pause" Class?
Class hierarchy problem
multiple repaint calls in mouseclick event
Drawing numbers
Silent Uninstall for older version of Java 2 RE.
Reading in a certain number of characters from a file.
Problem once it tries to sort
Java Programming
event.getKeyCode() == KeyEvent problem
Heaps
How to submit a HTML Form programmatically
Graphics
how to increase the size of memory?
Problems with sending two files with socket client/server
Sorting values in array
Code isn't working
Method that count hoy many specific character exist in a string
Console Error...
Java Essentials New Topic
applet not displaying
event.getKeyCode() == KeyEvent problem
System.getProperty doesnot work
Remove applet from this code
"Pause" Class?
Heaps
How to submit a HTML Form programmatically
multiple repaint calls in mouseclick event
Java Essentials Hot Topic
Class hierarchy problem
how to increase the size of memory?
Problems with sending two files with socket client/server
Reading in a certain number of characters from a file.
Console Error...
Retrieving an AttributedCharacterIterator
Limiting the actionPerformed (ActionEvent).
Need Help With Save As function Very Important
Java Essentials
Java Programming
New To Java
Training
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding