Page 1 of 1

Builtin Functions

PostPosted: Fri Jun 10, 2011 4:27 pm
by micha
On the StringLiteral:
  • length: Gets the number of characters in the string.
  • toFirstUpper: Gets the same string with capital first letter.
  • toFirstLower: Gets the same string with small first letter.
  • toAllUper: Gets the string in all capital letters.
  • toAllLower: Gets the string in all small letters.
  • camelcapToUnderscore: Separates the individual words of a camelcap word by underscores.
  • split80: Splits a string into chunks of maximally 80 characters.
  • split100: Splits a string into chunks of maximally 100 characters.
  • package2subdirectory: Replaces '.' by '/'.
  • isNotEmpty: True if the string is not the empty string.

On the TextLiteral:
  • split80: Splits the text into chunks of maximally 80 characters.
  • split100: Splits the text into chunks of maximally 100 characters.

On the BooleanLiteral:
  • isFalse: Negates the boolean.

On all Resources:
  • package: Gets the resource's package as string.
  • guid: Gets the unique identifier associated with the Resource.
  • simpleName: Gives the Resource's name as defined by its NameAspect. (From version 4.7.)