[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

combining string values

From: Jason Stover
Subject: combining string values
Date: Sun, 4 Jan 2009 15:21:43 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

I'm still working on incorporating interactions into
the computation of the covarinace matrix.

I need to combine multiple string values into a single
string, in a one-to-one way. For example, in the following
data set, there are two variables, each with two values:

        var1            var2
        ae              f
        a               ef

I don't want to just concatenate the values because
I would have aef in both cases.

I can work around this by using strtol, or something
like it. Two questions:

1. Is there some other function I should use?

2. Will this approach cause problems in the future if the union value
contains a long string?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]