Noob question but harder than you think! - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 05-24-2007, 04:52 PM   #1 (permalink)
Newb Techie
 
Join Date: Apr 2007
Posts: 14
Default Noob question but harder than you think!

Ok. Here's the deal. I've got two colums of text and I want to completely close the gap in between them.

This:

one five
two six
three seven
four eight

Should look like this:

onefive
twosix
threeseven
foureight

I'm working on a game and I need to figure out the fastest way to do this.

I've tried just about everything in wordpad....
__________________

ChouZangetsu is offline  
Old 05-24-2007, 04:56 PM   #2 (permalink)
Lord Techie
 
gurusan's Avatar
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 6,562
Send a message via MSN to gurusan
Default Re: Noob question but harder than you think!

well you could write a little java applet that imports the txt file and removes all spaces
__________________

__________________
|| 2500K @ 5GHz 1 thread, 4.8 2 threads, 4.6 3, 4.5 4 1.284V ||
|| P8P67-M Pro || 8GB @ 2133MHz ||
|| 5850 @ 1000/1225 || XFX 650W || Silverstone FT03B ||
|| 37" LCD TV || CM Hyper 212+ || Samsung 2.1 Soundbar ||
gurusan is offline  
Old 05-24-2007, 04:59 PM   #3 (permalink)
Newb Techie
 
Join Date: Apr 2007
Posts: 14
Default Re: Noob question but harder than you think!

-_- I can't do this in wordpad?
ChouZangetsu is offline  
Old 05-24-2007, 05:02 PM   #4 (permalink)
Newb Techie
 
Join Date: Aug 2006
Posts: 20
Default Re: Noob question but harder than you think!

Do a find and replace, have it find the spaces and have it replace it with nothing.
pcschris is offline  
Old 05-25-2007, 12:18 AM   #5 (permalink)
Wizard Techie
 
Join Date: Apr 2004
Posts: 3,247
Default Re: Noob question but harder than you think!

well, if in vb you could always use the RTRIM() and LTRIM() to get those spaces out. Just open the txt file, DIM it as a long string, trim it and save it back.... it really depends on what you intend to do with the inputed data, though.
__________________
If you argue with an idiot he will drag you down to his level and beat you with experience.

I am not a fast writer.
I am not a slow writer.
I am a half-fast writer.

-Robert Asprin
killians45 is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
question about my processor socket siddanth3 New Systems | Building and Buying 10 04-27-2007 01:14 AM
Noob Question waytoosmall Computer Audio and Multimedia 7 04-23-2007 07:19 PM
Help me clear something up please(Fresh install of xp type question) jonny_uk Microsoft Windows and Software 2 04-21-2007 06:38 PM
Case Fan Question Shafra Overclocking and Modding 10 04-18-2007 06:42 PM
Question about Torrent files KingAustin Computer Networking and Internet Hardware 11 04-15-2007 11:58 PM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 02:03 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.