Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 17-03-2007, 01:37 PM   #1 (permalink)
In The Zone
 
Join Date: Jul 2005
Location: come on u know it
Posts: 428
Question text editor??


is there any text editor or any other software which can automatically insert " | " this chracter in the blanks space of 2 lines of a database ... if yes pls tell me.. i need it for project work..
NagpurDaMunda is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 17-03-2007, 03:31 PM   #2 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: text editor??

u can use find replace of ny editor for that..
Pathik is offline  
Old 17-03-2007, 08:38 PM   #3 (permalink)
In The Zone
 
Join Date: Jul 2005
Location: come on u know it
Posts: 428
Default Re: text editor??

i want to replace only one space with | . and remaining space as it is..
NagpurDaMunda is offline  
Old 17-03-2007, 08:49 PM   #4 (permalink)
The Frozen Nova
 
casanova's Avatar
 
Join Date: Sep 2004
Location: Trespasser in Virtual Land
Posts: 1,641
Default Re: text editor??

give me a sample line (as u are having just now) and the modified line (that you want to have)
__________________
I dream of a better tomorrow... where chickens can cross roads and not have their motives questioned.

www.nerdweed.blogspot.com
casanova is offline  
Old 17-03-2007, 09:26 PM   #5 (permalink)
Gangsta
 
Josan's Avatar
 
Join Date: Sep 2006
Location: I come from the land of WARRIORS, land of 5 rivers, where the alcohol will make your liver quiver!!
Posts: 349
Default Re: text editor??

ohhh !!!!!!!!!
Josan is offline  
Old 17-03-2007, 11:23 PM   #6 (permalink)
Indian by heart
 
planetcall's Avatar
 
Join Date: Nov 2003
Location: Bangalore
Posts: 343
Default Re: text editor??

lol do a pattern (regex) Find&Replace method of the editors available. Most of them support it. EmEditor , PSPad, UltraEdit etc to name a few.

Search for /n/n and replace with /n|/n
__________________
प्रासादशिखरेऽपि सन्न काको गरुडायते ॥
No matter how high a fool may rise, he remains a fool -RigVeda
planetcall is offline  
Old 17-03-2007, 11:48 PM   #7 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: text editor??

@josan wtf r u posting??
Pathik is offline  
Old 19-03-2007, 01:48 PM   #8 (permalink)
In The Zone
 
Join Date: Jul 2005
Location: come on u know it
Posts: 428
Default Re: text editor??

original text --->
dwarf v. overshadow, dominate, diminish, minimize: The new tower
dwarfs the older buildings.
dwell v. 1 reside, abide, live, lodge, stay, remain, rest, Formal
domicile: After the father's death, the mother dwelt with her
daughter. 2 dwell on or upon. harp on, persist in, emphasize,
stress, focus on, linger or tarry over, elaborate (on); labour:
Why must you always dwell on a person's shortcomings?
dwelling n. abode, habitation, dwelling-place, house, domicile, lodging,
quarters, home, residence, homestead: His dwelling is a shanty
in old shanty town.

Required text --->

dwarf v. overshadow, dominate, diminish, minimize: The new tower|dwarfs the older buildings.|dwell v. 1 reside, abide, live, lodge, stay, remain, rest, Formal|domicile: After the father's death, the mother dwelt with her
daughter. 2 dwell on or upon. harp on, persist in, emphasize,
stress, focus on, linger or tarry over, elaborate (on); labour:
Why must you always dwell on a person's shortcomings?|dwelling n. abode, habitation, dwelling-place, house, domicile, lodging,
quarters, home, residence, homestead: His dwelling is a shanty
in old shanty town.
NagpurDaMunda is offline  
Old 19-03-2007, 07:06 PM   #9 (permalink)
Indian by heart
 
planetcall's Avatar
 
Join Date: Nov 2003
Location: Bangalore
Posts: 343
Default Re: text editor??

Find : \n
Replace: |

is that so hard ? It will replace all the newlines with a pipe. I used EmEditor for testing it up. Remember to enable the RegEx search in the search&Replace dialog.
__________________
प्रासादशिखरेऽपि सन्न काको गरुडायते ॥
No matter how high a fool may rise, he remains a fool -RigVeda
planetcall is offline  
 

Bookmarks

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


 
Latest Threads
- by Sujeet
- by Krow
- by abhidev
- by topgear

Advertisement




All times are GMT +5.5. The time now is 07:44 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2