When I call this cut method, it takes in a buffer like "HelloWorld", and will delete from lets say 0 to 5. This will leave left over "World" ... Now, what I am trying to do is store the "Hello" into a separate place for use later.
What I am struggling with is storing the "Hello", I can obviously very easily store "World", but I very much need to store "Hello" instead.
Any help is MUCH appreciated, I can't figure this out. Thank you!
RE: Deleting and Storing Text | STRINGBUFFER
Posts: Location: Joined: 01.01.70 Rank: Guest
Posted on 29-10-08 00:46
I've just begun learning to program so I can't give you any code, but I'm pretty sure you can save the words that are to be deleted as a string just before they are deleted. Here is a representation in pseudo code seeing as how I don't know the actual commands.
This would them allow you to reuse the string later, kinda like Microsoft Clipboard. If I am wrong, I apologize, but tI believe myself to be theoretically correct.
After reviewing the code, I came up with a new, possibly correct, pseudo code.