You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
359 B
15 lines
359 B
package com.fr.function; |
|
|
|
import com.fr.script.AbstractFunction; |
|
|
|
public class StringCat extends AbstractFunction { |
|
public Object run(Object[] args) { |
|
String result = ""; |
|
Object para; |
|
for (int i = 0; i < args.length; i++) { |
|
para = args[i]; |
|
result += para.toString(); |
|
} |
|
return result; |
|
} |
|
} |