fm.liveswitch.StringExtensions Class Reference

Static Public Member Functions

static String concat (Object[] strs)
 
static String concat (String s1)
 
static String concat (String s1, String s2)
 
static String concat (String s1, String s2, String s3)
 
static String concat (String s1, String s2, String s3, String s4)
 
static String join (String separator, String[] array)
 
static String[] split (String s, char[] chars)
 
static boolean isNullOrEmpty (String s)
 
static boolean isEqual (String str, String str2, StringComparison stringComparison)
 
static int indexOf (String str, String s)
 
static int indexOf (String str, char c)
 
static int indexOf (String str, String s, StringComparison stringComparison)
 
static int lastIndexOf (String str, String s)
 
static int lastIndexOf (String str, char c)
 
static int lastIndexOf (String str, String s, StringComparison stringComparison)
 
static boolean startsWith (String str, String s)
 
static boolean startsWith (String str, String s, StringComparison stringComparison)
 
static boolean endsWith (String str, String s)
 
static boolean endsWith (String str, String s, StringComparison stringComparison)
 
static String format (String format, Object[] args)
 
static String format (String format, Object arg0)
 
static String format (String format, Object arg0, Object arg1)
 
static String format (String format, Object arg0, Object arg1, Object arg2)
 
static String format (String format, Object arg0, Object arg1, Object arg2, Object arg3)
 
static String format (String format, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4)
 
static String format (String format, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
 
static String format (String format, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6)
 
static String format (String format, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7)
 
static String format (String format, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8)
 
static String format (String format, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9)
 
static String reformatNetFormat (String format, int count)
 
static String toLower (String s)
 
static String toUpper (String s)
 
static int getLength (String str)
 
static char[] getChars (String str)
 
static String substring (String str, int startIndex, int length)
 
static String trimEnd (String str, char[] chars)
 

Static Public Attributes

static String empty = ""
 

Member Function Documentation

◆ concat() [1/5]

static String fm.liveswitch.StringExtensions.concat ( Object[]  strs)
static

◆ concat() [2/5]

static String fm.liveswitch.StringExtensions.concat ( String  s1)
static

◆ concat() [3/5]

static String fm.liveswitch.StringExtensions.concat ( String  s1,
String  s2 
)
static

◆ concat() [4/5]

static String fm.liveswitch.StringExtensions.concat ( String  s1,
String  s2,
String  s3 
)
static

◆ concat() [5/5]

static String fm.liveswitch.StringExtensions.concat ( String  s1,
String  s2,
String  s3,
String  s4 
)
static

◆ endsWith() [1/2]

static boolean fm.liveswitch.StringExtensions.endsWith ( String  str,
String  s 
)
static

◆ endsWith() [2/2]

static boolean fm.liveswitch.StringExtensions.endsWith ( String  str,
String  s,
StringComparison  stringComparison 
)
static

◆ format() [1/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0 
)
static

◆ format() [2/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1 
)
static

◆ format() [3/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1,
Object  arg2 
)
static

◆ format() [4/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1,
Object  arg2,
Object  arg3 
)
static

◆ format() [5/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1,
Object  arg2,
Object  arg3,
Object  arg4 
)
static

◆ format() [6/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1,
Object  arg2,
Object  arg3,
Object  arg4,
Object  arg5 
)
static

◆ format() [7/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1,
Object  arg2,
Object  arg3,
Object  arg4,
Object  arg5,
Object  arg6 
)
static

◆ format() [8/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1,
Object  arg2,
Object  arg3,
Object  arg4,
Object  arg5,
Object  arg6,
Object  arg7 
)
static

◆ format() [9/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1,
Object  arg2,
Object  arg3,
Object  arg4,
Object  arg5,
Object  arg6,
Object  arg7,
Object  arg8 
)
static

◆ format() [10/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object  arg0,
Object  arg1,
Object  arg2,
Object  arg3,
Object  arg4,
Object  arg5,
Object  arg6,
Object  arg7,
Object  arg8,
Object  arg9 
)
static

◆ format() [11/11]

static String fm.liveswitch.StringExtensions.format ( String  format,
Object[]  args 
)
static

◆ getChars()

static char [] fm.liveswitch.StringExtensions.getChars ( String  str)
static

◆ getLength()

static int fm.liveswitch.StringExtensions.getLength ( String  str)
static

◆ indexOf() [1/3]

static int fm.liveswitch.StringExtensions.indexOf ( String  str,
char  c 
)
static

◆ indexOf() [2/3]

static int fm.liveswitch.StringExtensions.indexOf ( String  str,
String  s 
)
static

◆ indexOf() [3/3]

static int fm.liveswitch.StringExtensions.indexOf ( String  str,
String  s,
StringComparison  stringComparison 
)
static

◆ isEqual()

static boolean fm.liveswitch.StringExtensions.isEqual ( String  str,
String  str2,
StringComparison  stringComparison 
)
static

◆ isNullOrEmpty()

static boolean fm.liveswitch.StringExtensions.isNullOrEmpty ( String  s)
static

◆ join()

static String fm.liveswitch.StringExtensions.join ( String  separator,
String[]  array 
)
static

◆ lastIndexOf() [1/3]

static int fm.liveswitch.StringExtensions.lastIndexOf ( String  str,
char  c 
)
static

◆ lastIndexOf() [2/3]

static int fm.liveswitch.StringExtensions.lastIndexOf ( String  str,
String  s 
)
static

◆ lastIndexOf() [3/3]

static int fm.liveswitch.StringExtensions.lastIndexOf ( String  str,
String  s,
StringComparison  stringComparison 
)
static

◆ reformatNetFormat()

static String fm.liveswitch.StringExtensions.reformatNetFormat ( String  format,
int  count 
)
static

◆ split()

static String [] fm.liveswitch.StringExtensions.split ( String  s,
char[]  chars 
)
static

◆ startsWith() [1/2]

static boolean fm.liveswitch.StringExtensions.startsWith ( String  str,
String  s 
)
static

◆ startsWith() [2/2]

static boolean fm.liveswitch.StringExtensions.startsWith ( String  str,
String  s,
StringComparison  stringComparison 
)
static

◆ substring()

static String fm.liveswitch.StringExtensions.substring ( String  str,
int  startIndex,
int  length 
)
static

◆ toLower()

static String fm.liveswitch.StringExtensions.toLower ( String  s)
static

◆ toUpper()

static String fm.liveswitch.StringExtensions.toUpper ( String  s)
static

◆ trimEnd()

static String fm.liveswitch.StringExtensions.trimEnd ( String  str,
char[]  chars 
)
static

Member Data Documentation

◆ empty

String fm.liveswitch.StringExtensions.empty = ""
static