User Tools

Site Tools


syntax:functions:keepbefore

KeepBefore(text, string)

Returns characters before the first occurrence of specific string in text. Parameter string must not be empty. This function is case-sensitive.

Example Result
KeepBefore( '5pm', 'pm' ) '5'
keepbefore('October 2015','2015') 'October '

See also

syntax/functions/keepbefore.txt · Last modified: 2015/04/03 22:27 by elenap