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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying variables...

Status
Not open for further replies.

BurcBoyar

Programmer
Feb 18, 2002
24
0
0
TR
I want to copy some part of an variable to another. Can someone help?

Example : I want to copy the first 4 letters of var1 to var2.

var1="1234567890"
var2 should be "1234"

Thanx for your answers...
 
FesterSXS, thanx for your help. It worked perfectly...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top