|
-
Oct 27th, 2006, 08:44 PM
#1
Thread Starter
Member
[RESOLVED] Removing Spaces
I am reading data in from a text file that has a lot of spacing between fields:
name address phone.
Each column is a fixed length, so if i use substring() i can gather the whole field. The problem is when I use trim() it doesnt remove all the spaces. In debug mode when I go over a variable I will see "name \0\0\0\0\0\0\0\0" "address\0\0\0\0\0" etc. Is there another form of trim() that I can use to remove those. Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|