STR_DROP_PUNC Name
STR_DROP_PUNC Purpose
Return a string with punctuation removed.
Category
Calling Sequence
out = str_drop_punc(in). Inputs
txt = input string. in
Keyword Parameters
Keywords
/LOWER convert to all lowercase.
/UPPER convert to all uppercase.
/COMPRESS remove all white space.
Outputs
out = returned string. out Common Blocks
Notes
Notes: Useful for comparing strings with minor differences.
Modification History
R. Sterner, 2002 Apr 18
R. Sterner, 2004 Aug 05 --- Dropped all but alphanumeric characters.
R. Sterner, 2010 May 23 --- Converted arrays from () to [].
Copyright (C) 2002, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.