![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Newbie
Join Date: May 2006
Location: Narvik, Norway
Posts: 22
Rep Power: 0
![]() |
May I ask what the numbers in parameter 2 is, and does it require to have 11 numbers?
Albert ferrer,00000000003,albert@tm.com.my I would recommend for parameters that are string to use "-char (or another split-char), like this: "Albert ferrer",3,"albert@tm.com.my"
__________________
To sell your own books it's like selling a piece of your soul. Kim |
|
|
|
|
|
#12 |
|
Newbie
Join Date: May 2006
Posts: 11
Rep Power: 0
![]() |
yes,it have 11 numbers
|
|
|
|
|
|
#13 |
|
Newbie
Join Date: May 2006
Posts: 11
Rep Power: 0
![]() |
yes,it have 11 numbers.how to do that?
|
|
|
|
|
|
#14 |
|
Newbie
Join Date: May 2006
Posts: 11
Rep Power: 0
![]() |
DaWei,
the problem is after all i need to load all the data into server..the server can only read the data (.txt file) which is in arrange position |
|
|
|
|
|
#15 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I would question the accuracy of that statement, but you may be correct. The server may be poorly designed or written. It's unlikely that it needs to perform multitudinous seeks here and there for a file such as you show.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#16 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4
![]() |
if you access to awk
awk -F"," '{printf ("%-30s|%s|%s\n",$1,$2,$3) }' filename > newfilename |
|
|
|
|
|
#17 | |
|
Programmer
Join Date: Jun 2005
Posts: 92
Rep Power: 4
![]() |
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|