Piccola / Interfaces / String Index

String

Standard Bindings

A string provides the following standard bindings:

returnsservicedescription
Stringthis + aFormConcatenate. Returns the concatenation from this and asString(aForm).
Numberthis.size()Returns the number of characters of this string.
Booleanthis < aStringSmaller. Returns true if this is smaller than aString, false otherwise.
Booleanthis > aStringGreater. Returns true if this is greater than aString, false otherwise.
Booleanthis <= aStringSmaller or Equal. Returns true if this is smaller than or equal to aString, false otherwise.
Booleanthis >= aStringGreater or Equal. Returns true if this is greater than or equal to aString, false otherwise.
Booleanthis == aStringEqual. Returns true if this equal to aString, false otherwise.
Booleanthis != aStringNot Equal. Returns true if this is not equal to aString, false otherwise.

JPiccola

In JPiccola, a string additionally provides the following bindings:

Classthis.getClass()Returns the class of this.