Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

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

Syntax

#(tint.prefix,%nocase,%s,...)

%s is a value and ... indicates that you can specify as many values as you want. The common prefix of all of the values will be returned. If %nocase is specified, then case will be ignored.

Examples

#(tint.prefix,,foo)
foo
#(tint.prefix,,foo,bar)

#(tint.prefix,,foo,fool,foolish)
foo
#(tint.prefix,,foo,Fool,fOOlish)

#(tint.prefix,y,foo,Fool,fOOlish)
foo