Gets lengths: of files/resources, byte size; of strings, length (optionally trimmed).
The task is overloaded in this way for semantic reasons, much like Available.
Attribute |
Description |
Type |
Required? |
length |
Set the target count number for use as a Condition.
|
long
|
?
|
file |
Set the single file for this task.
|
File
|
?
|
trim |
Set whether to trim in string mode.
|
boolean
|
?
|
mode |
Set the execution mode for working with files.
|
String ["each", "all"]
|
?
|
string |
Set the string whose length to get.
|
String
|
?
|
when |
Set the comparison criteria for use as a Condition:
"equal", "greater", "less". Default is "equal".
|
String ["equal", "greater", "less"]
|
?
|
property |
The property in which the length will be stored.
|
String
|
?
|