Class LTrim
java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.string.LTrim
@BoxBIF(description="Remove leading whitespace from a string")
@BoxMember(type=STRING_STRICT)
public class LTrim
extends BIF
-
Field Summary
Fields inherited from class ortus.boxlang.runtime.bifs.BIF
__functionName, __isMemberExecution, asyncService, cacheService, componentService, declaredArguments, functionService, interceptorService, logger, moduleService, runtime, schedulerService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_invoke(IBoxContext context, ArgumentsScope arguments) Trim leading whitespace from a stringstatic StringTrims leading whitespace from the input string.Methods inherited from class ortus.boxlang.runtime.bifs.BIF
announce, getDeclaredArguments, invoke
-
Constructor Details
-
LTrim
public LTrim()Constructor
-
-
Method Details
-
_invoke
Trim leading whitespace from a string -
apply
Trims leading whitespace from the input string.- Parameters:
input- The string to trim.- Returns:
- The trimmed string.
-