@abaplint/runtime
Version:
Transpiler - Runtime
16 lines (15 loc) • 564 B
TypeScript
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;