Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Programming Language : Tint Reference : Value Primitives : tint.rfirst

Syntax

#(tint.rfirst,%s,%match)
#(tint.rfirst,%s,%match,%retain)

%s is a value to be searched backwards for %match. If %match is found in %s, then everything after %match in %s will be returned, otherwise, all of %s will be returned. If %retain is specified, then the code or data attribute in %s will be carried into the result. Otherwise, the result is all data.

Examples

#(tint.rfirst,abcdef,b)
cdef
#(tint.rfirst,abcabc,b)
c
#(tint.rfirst,abcdef,g)
abcdef
#(tint.rfirst,abcdef,d,y)
ef