    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class gnu.jel.StringLib

    java.lang.Object
       |
       +----gnu.jel.StringLib

public class StringLib
extends Object

String manipulation library for JEL.

This class merely provides static wrappers for methods of `java.lang.String` class. Use this as a static library to get string manipulation functions within JEL compiled expressions. see java.lang.String for descriptions of corresponding methods.

See Also:
  String

##

StringLib()

##

charAt(String, int)
compareTo(String, String)
concat(String, String)
endsWith(String, String)
equals(String, Object)
indexOf(String, int)
indexOf(String, int, int)
indexOf(String, String)
indexOf(String, String, int)
intern(String)
lastIndexOf(String, int)
lastIndexOf(String, int, int)
lastIndexOf(String, String)
lastIndexOf(String, String, int)
length(String)
regionMatches(boolean, String, int, String, int, int)
regionMatches(String, int, String, int, int)
replace(String, char, char)
startsWith(String, String)
startsWith(String, String, int)
substring(String, int)
substring(String, int, int)
toLowerCase(String)
toUpperCase(String)
trim(String)
valueOf(boolean)
valueOf(char)
valueOf(double)
valueOf(float)
valueOf(int)
valueOf(long)
valueOf(Object)

##

StringLib

     public StringLib()

##

length

     public static int length(String arg)

charAt

     public static char charAt(String arg,
                               int index)

equals

     public static boolean equals(String arg,
                                  Object anObject)

compareTo

     public static int compareTo(String arg,
                                 String anotherString)

regionMatches

     public static boolean regionMatches(String one,
                                         int toffset,
                                         String other,
                                         int ooffset,
                                         int len)

regionMatches

     public static boolean regionMatches(boolean ignorecase,
                                         String one,
                                         int toffset,
                                         String other,
                                         int ooffset,
                                         int len)

startsWith

     public static boolean startsWith(String arg,
                                      String prefix,
                                      int toffset)

startsWith

     public static boolean startsWith(String arg,
                                      String prefix)

endsWith

     public static boolean endsWith(String arg,
                                    String suffix)

indexOf

     public static int indexOf(String arg,
                               int ch)

indexOf

     public static int indexOf(String arg,
                               int ch,
                               int fromIndex)

lastIndexOf

     public static int lastIndexOf(String arg,
                                   int ch)

lastIndexOf

     public static int lastIndexOf(String arg,
                                   int ch,
                                   int fromIndex)

indexOf

     public static int indexOf(String arg,
                               String other)

indexOf

     public static int indexOf(String arg,
                               String other,
                               int fromIndex)

lastIndexOf

     public static int lastIndexOf(String arg,
                                   String other)

lastIndexOf

     public static int lastIndexOf(String arg,
                                   String other,
                                   int fromIndex)

substring

     public static String substring(String arg,
                                    int beginIndex)

substring

     public static String substring(String arg,
                                    int beginIndex,
                                    int endIndex)

concat

     public static String concat(String arg,
                                 String str)

replace

     public static String replace(String arg,
                                  char oldChar,
                                  char newChar)

toLowerCase

     public static String toLowerCase(String arg)

toUpperCase

     public static String toUpperCase(String arg)

trim

     public static String trim(String arg)

intern

     public static String intern(String arg)

valueOf

     public static String valueOf(Object obj)

valueOf

     public static String valueOf(boolean b)

valueOf

     public static String valueOf(char c)

valueOf

     public static String valueOf(int i)

valueOf

     public static String valueOf(long l)

valueOf

     public static String valueOf(float f)

valueOf

     public static String valueOf(double d)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index