syntax:functions:keepbefore
This is an old revision of the document!
KeepBefore(text, string)
Returns characters before the first occurrence of specific 'string' in a given 'text'. Case-sensitive. Parameter string must be not empty.
Example | Result |
---|---|
KeepBefore( '5pm', 'pm' ) | '5' |
keepbefore('October 2015','2015') | 'October ' |
See also
syntax/functions/keepbefore.1427479534.txt.gz · Last modified: 2015/03/27 14:05 by elenap