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/str_delete_chars.tm.html
Hardcopy (PDF): A4 | Letter
Jump to: Description Example


AHELP for CIAO 3.4 str_delete_chars Context: slangrtl

Synopsis

Delete characters from a string

Syntax

String_Type str_delete_chars (String_Type str, String_Type del_set

Description

This function may be used to delete the set of characters specified by del_set from the string str. The result is returned.

Example

    str = str_delete_chars (str, "^A-Za-z");

will remove all characters except A-Z and a-z from str.

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.