Deleting The End of A String With BM

Sage
Posts: 1,066
Joined: 2004.07
Post: #1
I'm trying to code a mock console in BlitzMax and can't figure out how to take off the last character of a string. I've tried just setting the last character to "", reducing the length of the string (with the .length variable), and copying all the contents from one string (minus the last character) to another string and the setting it back to the original. Is there just a delete function I'm unaware of?

Also, how can I limit how fast the program gets keyboard input? It's adding about 4-10 characters each time I push a button because the frames go by so quickly.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Haskell IO String Problem michxs 2 5,119 Mar 11, 2008 06:24 PM
Last Post: wyrmmage
  Questions string & dynamic array qoo111 6 4,228 Apr 24, 2007 10:57 AM
Last Post: wyrmmage
  Deleting Lua chunks mars 0 2,028 Dec 4, 2005 09:31 PM
Last Post: mars
  deleting C++ newed memory WhatMeWorry 2 2,425 Aug 22, 2005 01:43 AM
Last Post: NCarter