railo.runtime.functions.string
Class Wrap
java.lang.Object
railo.runtime.functions.string.Wrap
- All Implemented Interfaces:
- Serializable, Function
public final class Wrap
- extends Object
- implements Function
- See Also:
- Serialized Form
Constructor Summary |
Wrap()
|
Wrap
public Wrap()
call
public static String call(PageContext pc,
String string,
double limit)
throws ExpressionException
- Throws:
ExpressionException
call
public static String call(PageContext pc,
String string,
double limit,
boolean strip)
throws ExpressionException
- Throws:
ExpressionException
wrap
public static String wrap(String str,
int wrapTextLength)
- wraps a String to specified length
- Parameters:
str
- string to erapwrapTextLength
-
- Returns:
- wraped String
Copyright © 2012 Railo