If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Parsing text strings to words

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-11-10, 12:37
JLR JLR is offline
Registered User
 
Join Date: Sep 2003
Location: London, England
Posts: 46
Parsing text strings to words

I have decoded some text into a long string of words without any spaces to separate them and I wish to automate the addition of spaces so that the text is returned as separate words. Is there a way to do this in Excel?

For example if I were to enter:

Ihavedecodedsometextintoalongstringofwordswithouts pacestoseparatethemandIwishtoautomatetheadditionof spaces

I would want the output to be:

I have decoded some text into a long string of words without spaces to separate them and I wish to automate the addition of spaces
Reply With Quote
  #2 (permalink)  
Old 02-11-10, 12:42
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
How does your parser know you want "text into a long" and not "ex tin to along"?

In short I would say no - you are in to some very complex linguistic (or at the very least some heavy duty brute force) parsing here.
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
Reply With Quote
  #3 (permalink)  
Old 02-11-10, 12:45
JLR JLR is offline
Registered User
 
Join Date: Sep 2003
Location: London, England
Posts: 46
Thank you, Pootle Flump, for your prompt reply. Sadly I thought this may be the case.
Reply With Quote
  #4 (permalink)  
Old 02-17-10, 06:32
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
How have you arrived at the long string of text? It might be possible to add a delimiter earlier in the process.
__________________
10% of magic is knowing something that no-one else does. The rest is misdirection.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On