User Tools

Site Tools


syntax:functions:keepbefore

This is an old revision of the document!


KeepBefore(text, string)

Returns characters before the first occurrence of specific string in predetermined 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.1428097384.txt.gz · Last modified: 2015/04/03 17:43 by elenap

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki