UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

23 lines (22 loc) 523 B
/** * returns the substr from a larger word * * @remarks * It takes 3 arguments * * `strSub(word, start, size)` * * - `word` - a string * - `start` - the start position as a number * - `size` - the number of characters to take, as a number * * ## Usage * * - `strSub('this is a word', 1, 2)` - returns 'hi' * */ import { BaseMethod } from './_Base'; export declare class StrSubExpression extends BaseMethod { static requiredArguments(): string[][]; processArguments(args: any[]): Promise<string>; }