repl.txt (602B)
1 {{alias}}( str, search[, fromIndex] ) 2 Returns the part of a string after a specified substring. 3 4 Parameters 5 ---------- 6 str: string 7 Input string. 8 9 search: string 10 Search string. 11 12 fromIndex: integer (optional) 13 Index from which to start the search. Default: `0`. 14 15 Returns 16 ------- 17 out: string 18 Substring. 19 20 Examples 21 -------- 22 > var out = {{alias}}( 'Hello World!', 'World' ) 23 '!' 24 > out = {{alias}}( 'Hello World!', 'Hello ' ) 25 'World!' 26 > out = {{alias}}( 'Hello World!', 'l', 5 ) 27 'd!' 28 29 See Also 30 --------