gov.nih.nlm.nls.tc.Util
Class Str
java.lang.Object
  
gov.nih.nlm.nls.tc.Util.Str
public class Str
- extends java.lang.Object
 
This class provides methods of string related operations.
 
History:
- Version:
 
  - V-2011
 
- Author:
 
  - NLM Lexical Systems group
 
 
| 
Constructor Summary | 
Str()
 
            | 
 
| 
Method Summary | 
static java.lang.String | 
Replace(java.lang.String inStr,
        java.lang.String source,
        java.lang.String target)
 
          Replace a source subString with a target string in an input string. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FIELD_SEP
public static final java.lang.String FIELD_SEP
- See Also:
 - Constant Field Values
 
LINE_SEP
public static final java.lang.String LINE_SEP
FILE_SEP
public static final java.lang.String FILE_SEP
Str
public Str()
Replace
public static java.lang.String Replace(java.lang.String inStr,
                                       java.lang.String source,
                                       java.lang.String target)
- Replace a source subString with a target string in an input string.
- Parameters:
 inStr - the input base string which will be changed.source - the source pattern string which will be changed from.target - the target pattern string which will be changed to.
- Returns:
 - a string with changed pattern string from inStr.
 
 
 
 Submit a bug or feature
 Copyright © 2011 National Library of Medicine