Packageflare.query
Classpublic class StringUtil

Utility class providing functions for manipulating String objects. These functions are intended for use by the Fn operator.



Public Methods
 MethodDefined by
  
concat(... args):String
[static]
StringUtil
  
concat_ws(sep:String, ... args):String
[static]
StringUtil
  
endsWith(s:String, p:String):Boolean
[static]
StringUtil
  
format(x:Number, d:int):String
[static]
StringUtil
  
insert(s:String, pos:int, len:int, ns:String):String
[static]
StringUtil
  
left(s:String, len:int):String
[static]
StringUtil
  
length(s:String):int
[static]
StringUtil
  
lower(s:String):String
[static]
StringUtil
  
lpad(s:String, len:int, pad:String):String
[static]
StringUtil
  
position(sub:String, s:String):int
[static]
StringUtil
  
repeat(s:String, count:int):String
[static]
StringUtil
  
replace(s:String, orig:String, replace:String):String
[static]
StringUtil
  
reverse(s:String):String
[static]
StringUtil
  
right(s:String, len:int):String
[static]
StringUtil
  
rpad(s:String, len:int, pad:String):String
[static]
StringUtil
  
space(len:int):String
[static]
StringUtil
  
startsWith(s:String, p:String):Boolean
[static]
StringUtil
  
substring(s:String, pos:int, len:int = -1):String
[static]
StringUtil
  
upper(s:String):String
[static]
StringUtil
Method detail
concat()method
public static function concat(... args):StringParameters
... args

Returns
String
concat_ws()method 
public static function concat_ws(sep:String, ... args):StringParameters
sep:String
 
... args

Returns
String
endsWith()method 
public static function endsWith(s:String, p:String):BooleanParameters
s:String
 
p:String

Returns
Boolean
format()method 
public static function format(x:Number, d:int):StringParameters
x:Number
 
d:int

Returns
String
insert()method 
public static function insert(s:String, pos:int, len:int, ns:String):StringParameters
s:String
 
pos:int
 
len:int
 
ns:String

Returns
String
left()method 
public static function left(s:String, len:int):StringParameters
s:String
 
len:int

Returns
String
length()method 
public static function length(s:String):intParameters
s:String

Returns
int
lower()method 
public static function lower(s:String):StringParameters
s:String

Returns
String
lpad()method 
public static function lpad(s:String, len:int, pad:String):StringParameters
s:String
 
len:int
 
pad:String

Returns
String
position()method 
public static function position(sub:String, s:String):intParameters
sub:String
 
s:String

Returns
int
repeat()method 
public static function repeat(s:String, count:int):StringParameters
s:String
 
count:int

Returns
String
replace()method 
public static function replace(s:String, orig:String, replace:String):StringParameters
s:String
 
orig:String
 
replace:String

Returns
String
reverse()method 
public static function reverse(s:String):StringParameters
s:String

Returns
String
right()method 
public static function right(s:String, len:int):StringParameters
s:String
 
len:int

Returns
String
rpad()method 
public static function rpad(s:String, len:int, pad:String):StringParameters
s:String
 
len:int
 
pad:String

Returns
String
space()method 
public static function space(len:int):StringParameters
len:int

Returns
String
startsWith()method 
public static function startsWith(s:String, p:String):BooleanParameters
s:String
 
p:String

Returns
Boolean
substring()method 
public static function substring(s:String, pos:int, len:int = -1):StringParameters
s:String
 
pos:int
 
len:int (default = -1)

Returns
String
upper()method 
public static function upper(s:String):StringParameters
s:String

Returns
String