Delete a character in a buffer

Posted on 2005-04-02
Medium Priority
Last Modified: 2010-03-31
I was wondering if there was a way to delete a character from a buffer at a certain position, making sure that it will correctly move the other characters into place.
example) if the buffer BUF has "test" in it's buffer how would i delete the "e" and make it "tst"

Question by:JayTreDoe357
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 92

Expert Comment

ID: 13690008
You could use a StringBuffer to achieve that.
LVL 92

Accepted Solution

objects earned 500 total points
ID: 13690010

Author Comment

ID: 13690013
Thanks, I was on a page that look very simular and it had insert but no delete. Your the greatest! : )

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question