| Method | Defined by | ||
|---|---|---|---|
|
remove(input:String, remove:String):String
[static]
Removes all instances of the remove string in the input string.
| TweetUtil | ||
|
replace(input:String, replace:String, replaceWith:String):String
[static]
Replaces all instances of the replace string in the input string with the replaceWith string.
| TweetUtil | ||
|
returnTweetAge(created_at:String):String
[static]
Returns a simplified String with the elapsed time.
| TweetUtil | ||
|
stringToBool(value:String):Boolean
[static]
Converts a "true"/"false" String to a Boolean
| TweetUtil | ||
|
tidyTweet(status:String):String
[static]
Some clients create pointless junk in tweets.
| TweetUtil | ||
| remove | () | method |
public static function remove(input:String, remove:String):StringRemoves all instances of the remove string in the input string.
Parametersinput:String — The string that will be checked for instances of remove string
|
|
remove:String — The string that will be removed from the input string.
|
String |
| replace | () | method |
public static function replace(input:String, replace:String, replaceWith:String):StringReplaces all instances of the replace string in the input string with the replaceWith string.
Parametersinput:String — The string that instances of replace string will be replaces with removeWith string.
|
|
replace:String — The string that will be replaced by instances of the replaceWith string.
|
|
replaceWith:String — The string that will replace instances of replace string.
|
String |
| returnTweetAge | () | method |
public static function returnTweetAge(created_at:String):StringReturns a simplified String with the elapsed time. Compares the tweet date and the current date to calculate the difference.
Parameterscreated_at:String — The created_at data found within a tweet node
|
String |
| stringToBool | () | method |
public static function stringToBool(value:String):BooleanConverts a "true"/"false" String to a Boolean
Parametersvalue:String |
Boolean |
| tidyTweet | () | method |
public static function tidyTweet(status:String):StringSome clients create pointless junk in tweets. Remove it.
Parametersstatus:String |
String |