UNSOLVED

mboparai

updated

11 years ago

M

mboparai

8 Posts

0

874

March 2nd, 2016 09:00

MODEL - concatenate strings

Hi,

Is it possible to concatenate two strings ( from two string attributes or string literals) in SMARTS MODEL?

I didn't find anything in model documentation and everything that I've tried so far results in a compilation error.

Thanks for all suggestions and help.

Regards,

  • nbruce

    53 Posts

    557

    0

    Posted July 18th, 2016 12:00

    You can concatenate two strings together as you would in Perl.  For example-  s= s1.s2, s should be the result of s1 concatenated with s2.