Array to strings?

From: gfs X (booya_at_grandma.com)
Date: 03/23/05

  • Next message: pingu: "Re: Array to strings?"
    Date: Wed, 23 Mar 2005 09:34:53 GMT
    
    

    Hi, Im a complete noob to perl.
    Is there a way to convert array values into a string?

    For example

    @myarr=("Sample","test","Array");
    My desired output: "SampletestArray"
    To then work with as a string.

    I know I could just specify piece by piece but thats just too much and
    very impractical (im using it to generate filenames)

    Much thanks in advance


  • Next message: pingu: "Re: Array to strings?"

    Relevant Pages

    • Help in French|Spanish|German translation.
      ... I am also an author of User-defined string functions. ... WORDTRANEX (cSearched, cArExpressionSought | cExpressionSough, ... each string of the array is searched ... If the parameter nArStartOccurrence is -1 or omitted, the replacement starts ...
      (microsoft.public.fox.helpwanted)
    • Re: passing a string to a dll
      ... Joe, I really appreciate you taking the time to demonstrate this. ... sure how I would implement indexing it for random alphanumeric codes. ... I might handle the array. ... I actually have been wondering if I could use a second string ...
      (microsoft.public.vc.mfc)
    • Re: passing a string to a dll
      ... I might handle the array. ... I actually have been wondering if I could use a second string ... look at insertion cost, organization cost, and search cost. ...
      (microsoft.public.vc.mfc)
    • RE: Structure conversion from C++ to VB-2008?
      ... One of the most important structures is AmiVar structure. ... point number, the array of floating point numbers, a string or IDispatch ... Dim 13012679 as Integer ...
      (microsoft.public.dotnet.languages.vb)
    • Structures conversion from C++ to VB-2008
      ... One of the most important structures is AmiVar structure. ... point number, the array of floating point numbers, a string or IDispatch ... Dim 13012679 as Integer ...
      (microsoft.public.dotnet.languages.vb)