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

Super Double Delux List!!!! w/ fries and a lg coke 1

Status
Not open for further replies.

VspecGTR3

Technical User
Feb 3, 2003
62
US
How do i stick thing between ever element in a list like say i got a list called
@somelist =(1, 2, 3, 4);
the print would be 1234 how do i stick - between each elements. like so
1-2-3-4
 
[tt]join("-", @somelist)[/tt] would return the string [tt]"1-2-3-4"[/tt]
 
lol i forgot about join really i did lol...god im a moron thanks rosenk heres a star.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top