Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help

Status
Not open for further replies.

C1704

IS-IT--Management
Oct 20, 2011
1
GB
I have a query!

MC74LVX4052DT|74LVX4052 (Input)

MC74LVX4052DT|74LVX4052|MC|DT (Output)

How do i get in unix & excel
 
Hi

C1704 said:
I have a query!
Where is it ?
C1704 said:
MC74LVX4052DT|74LVX4052 (Input)

MC74LVX4052DT|74LVX4052|MC|DT (Output)
What do you want ? To generate that output from the input is enough the shell itself :
Code:
[blue]master #[/blue] var='MC74LVX4052DT|74LVX4052'

[blue]master #[/blue] IFS='|'

[blue]master #[/blue] set -- $var

[blue]master #[/blue] echo "$*|${1:0:2}|${1: -2}"
MC74LVX4052DT|74LVX4052|MC|DT
C1704 said:
How do i get in unix & excel
How would be Excel involved in this ? Anyway, as Microsoft never released Excel for Unix, this part is pointless.


Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top