com.google.clearsilver.jsilver.functions.string
Class LengthFunction
java.lang.Object
com.google.clearsilver.jsilver.functions.NonEscapingFunction
com.google.clearsilver.jsilver.functions.string.LengthFunction
- All Implemented Interfaces:
- Function
public class LengthFunction
- extends NonEscapingFunction
Returns the length of the string expression.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LengthFunction
public LengthFunction()
execute
public Value execute(Value... args)
- Description copied from interface:
Function
- Execute a function. Should always return a result.
- Parameters:
args
- A single string value
- Returns:
- Length as number value
Copyright © 2010-2012 Google. All Rights Reserved.