View Full Version : Trimming certain characters.
Jason2gs
03-17-2007, 07:58 AM
I just discovered how to use GetTextAtEx (Thank God), but I need SCAR to trim certain characters away from some of the text. (Like "Walk Here" or ":").
How would I go about doing that? I've used Trim( a little bit, but not enough to know all the basics of it.
danrox2004
03-17-2007, 11:42 AM
I just discovered how to use GetTextAtEx (Thank God), but I need SCAR to trim certain characters away from some of the text. (Like "Walk Here" or ":").
How would I go about doing that? I've used Trim( a little bit, but not enough to know all the basics of it.
If trim is anything like the php version then it just removes whitespace. I think you should look at Ron's thread of new functions... I think it contains a delete function.
Jason2gs
03-17-2007, 12:03 PM
Alright :)
Thanks, mate ;)
Edit: Couldn't seem to find a procedure to trim specific characters... I saw something the preview functions list for Divi something called "TrimOthes" which seems like what I need. But I highly doubt anyone will give me a taste of what Divi is like. Not before anyone else.
If I could see the main procedure for Trim(, I could modify it and put my own proceudre together ;) ((Hint hint))
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.