repl.txt (481B)
1 {{alias}}( str, search ) 2 Returns the part of a string before the last occurrence of a specified 3 substring. 4 5 Parameters 6 ---------- 7 str: string 8 Input string. 9 10 search: string 11 Search value. 12 13 Returns 14 ------- 15 out: string 16 Substring. 17 18 Examples 19 -------- 20 > var str = 'Beep Boop Beep'; 21 > var out = {{alias}}( str, 'Beep' ) 22 'Beep Boop ' 23 > out = {{alias}}( str, 'Boop' ) 24 'Beep ' 25 26 See Also 27 --------