About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/strcat.tm.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 strcat Context: slangrtl

Synopsis

Concatenate strings

Syntax

String_Type strcat (String_Type a_1, ..., String_Type a_N)

Description

The strcat function concatenates its N String_Type arguments a_1, ... a_N together and returns the result.

Example

    strcat ("Hello", " ", "World");

produces the string "Hello World".

This function is equivalent to the binary operation a_1+...+a_N. However, strcat is much faster making it the preferred method to concatenate string.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.