UNPKG

@abaplint/runtime

Version:
16 lines (15 loc) 564 B
import { ICharacter } from "../types/_character"; import { INumeric } from "../types/_numeric"; import { String } from "../types/string"; import { FieldSymbol } from "../types"; export interface IReplaceInput { val: string | ICharacter | FieldSymbol; sub?: string | ICharacter | FieldSymbol; with?: string | ICharacter | FieldSymbol; regex?: string | ICharacter | FieldSymbol; pcre?: string | ICharacter | FieldSymbol; off?: INumeric; len?: INumeric; occ?: INumeric; } export declare function replace(input: IReplaceInput): String;