UNPKG

polygonjs-engine

Version:

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

23 lines (22 loc) 547 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 required_arguments(): string[][]; process_arguments(args: any[]): Promise<string>; }