Results 1 to 2 of 2
- 10-16-2009, 05:17 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 4
- Rep Power
- 0
How to convert a TextArea to a String?
I need to convert a TextArea to a String, and the rplace the letter "a" in the string by a "f";
I have:
JTextArea Text1 = new JTextArea();
String Text2;
???????? here's where i convert the textarea to a srting ??????????
Text2 = null;
Text2 = Text1.replaceAll("a", "e");
Thank you for your help
- 10-16-2009, 05:23 PM #2
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Similar Threads
-
How to convert a string into a BigInteger
By valery in forum New To JavaReplies: 4Last Post: 09-13-2011, 01:32 PM -
how to convert String number to int
By gabriel in forum New To JavaReplies: 5Last Post: 08-02-2009, 03:46 PM -
trying to convert an interger to a string
By matpj in forum New To JavaReplies: 12Last Post: 01-15-2009, 10:08 AM -
convert String to Double
By azurovyhrosik in forum CLDC and MIDPReplies: 5Last Post: 10-22-2008, 02:46 AM -
convert a really big string (len 39) to bigdecimal
By coolsig in forum Advanced JavaReplies: 6Last Post: 06-14-2008, 02:48 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks