Re: [classad-users] string concatenation


Date: Fri, 17 Sep 2004 12:56:24 -0500 (CDT)
From: Alain Roy <roy@xxxxxxxxxxx>
Subject: Re: [classad-users] string concatenation
is there any method that, given a couple of strings, concatenates them and 
returns the resulting string?
There is the strcat function that concatenates all the strings you want:

strcat(s1, s2)
strcat(s1, s2, s3)
values={ "1" , "2" , "2bis" ........   , "last" } ;
input ="input" + values[ i ]  ;
output = "output" + values[ i ] ;
input = strcat("input", values[1]);
output = strcat("output", values[2]);
-alain

Condor Classads Info:
http://www.cs.wisc.edu/condor/classad/


[← Prev in Thread] Current Thread [Next in Thread→]