C# Class Jade.Compiler.StringUtils

Exibir arquivo Open project: rnrn/Jade4Net

Public Methods

Method Description
equalsIgnoreCase ( String str1, String str2 ) : bool
escape ( String str ) : String
escape ( char c ) : String
isBlank ( string input ) : bool
isEmpty ( String str ) : bool
isNotBlank ( string input ) : bool
isNotEmpty ( String str ) : bool
join ( Object array, String separator ) : String
join ( Object array, String separator, int startIndex, int endIndex ) : String
left ( String str, int len ) : String
length ( String str ) : int
mid ( String str, int pos, int len ) : String
repeat ( char c, int n ) : String
repeat ( string pattern, int count ) : string
right ( String str, int len ) : String
startsWith ( String strin, String prefix ) : bool
substring ( String str, int start ) : String
substring ( String str, int start, int end ) : String

Private Methods

Method Description
StringUtils ( ) : System

Method Details

equalsIgnoreCase() public static method

public static equalsIgnoreCase ( String str1, String str2 ) : bool
str1 String
str2 String
return bool

escape() public static method

public static escape ( String str ) : String
str String
return String

escape() public static method

public static escape ( char c ) : String
c char
return String

isBlank() public static method

public static isBlank ( string input ) : bool
input string
return bool

isEmpty() public static method

public static isEmpty ( String str ) : bool
str String
return bool

isNotBlank() public static method

public static isNotBlank ( string input ) : bool
input string
return bool

isNotEmpty() public static method

public static isNotEmpty ( String str ) : bool
str String
return bool

join() public static method

public static join ( Object array, String separator ) : String
array Object
separator String
return String

join() public static method

public static join ( Object array, String separator, int startIndex, int endIndex ) : String
array Object
separator String
startIndex int
endIndex int
return String

left() public static method

public static left ( String str, int len ) : String
str String
len int
return String

length() public static method

public static length ( String str ) : int
str String
return int

mid() public static method

public static mid ( String str, int pos, int len ) : String
str String
pos int
len int
return String

repeat() public static method

public static repeat ( char c, int n ) : String
c char
n int
return String

repeat() public static method

public static repeat ( string pattern, int count ) : string
pattern string
count int
return string

right() public static method

public static right ( String str, int len ) : String
str String
len int
return String

startsWith() public static method

public static startsWith ( String strin, String prefix ) : bool
strin String
prefix String
return bool

substring() public static method

public static substring ( String str, int start ) : String
str String
start int
return String

substring() public static method

public static substring ( String str, int start, int end ) : String
str String
start int
end int
return String