Archived

This topic is now archived and is closed to further replies.

EZ Java string question

This topic is 5011 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm a noob at Java, and need to know how to change an individual character within a String class.. There's probably a simple function i'm overlooking. Anyways, thanks in advance. [edited by - derek6433 on March 24, 2004 1:09:06 AM]

Share this post


Link to post
Share on other sites
okay, so now i'm trying to use a char array, but I can't get that to work either.


char saArrary[] = new char[10];
saArray[0] = 'h';

I get the following error..
"IO.java [39:1] cannot resolve symbol
symbol : variable saArray "


Help please?




[edited by - derek6433 on March 24, 2004 9:43:24 AM]

Share this post


Link to post
Share on other sites
quote:
Original post by algol
have a look here:

http://www.ling.ohio-state.edu/~kcohen/javaStringHandling.html


oh geez, there''s a whole other class for string buffers.. thank you.

Share this post


Link to post
Share on other sites