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