WorkSmart Platform
HomeSign In
  • Low code, Unified Platform
  • Custom Database Apps
    • Create new App
    • Columns
      • Column Types
        • Text
        • Multi-Line
        • Number
        • Auto Number
        • Currency
        • Date/Time
        • TimeInput
        • Duration
        • Yes/No
        • Choice – Drop Down, Radio Button, and Check Box
        • Email Address
        • Phone/Fax No.
        • URL
        • Relationship
        • E-Signature
        • Formula
      • Adding a New Column
      • Modifying Existing Column
      • Removing a Column
    • Views
      • Adding a View
      • Adding a Chart View
      • Adding a New Summary View
      • Editing a View
      • Deleting a View
      • View Settings
        • Setting default view
        • Re-ordering view sequence
        • Making view active/inactive
    • Forms
      • Adding a New Form
      • Editing a Form
      • Deleting a Form
    • Plug-ins
    • Relationships
      • Lookup
        • Adding a New Lookup Field
        • Editing a Lookup Field
        • Deleting a Lookup Field
      • Summary
        • Adding a New Summary Field
        • Editing a Summary Field
        • Deleting a Summary Field
    • User Permissions
      • Levels of Access Controls
      • Sharing an App
      • Sharing a Record
    • Notification Settings
      • Adding a new Email Template
      • Editing a Email Template
      • Deleting a Email Template
      • Turning a Email Notification as On/Off
    • Automation Rules
      • Adding a new Rule
      • Edit a Rule
      • Deleting a Rule
      • Custom Action Rules
        • Overview
        • Rule Conditions
        • Rule Actions
      • User Based Rules
        • Rule Conditions
        • Rule Actions
      • Record Based Rules
        • Rule Conditions
        • Rule Actions
      • Time Based Rules
        • Rule Actions
        • Rule Conditions
      • Periodic Rules
        • Rule Conditions
        • Rule Actions
      • Rule Actions
        • Hide Form Tabs
        • Update Record
        • Add Record
        • Column Control
        • Apply Approval
        • Add Subform Record
        • Email Alert
        • Delete Connected Records
        • Navigate To
      • Conditional Formatting
      • Operator Precedence
    • Workflow Process
    • Modifying Database App Details
    • Save As Template
    • Transferring Ownership of Database App
    • Exporting Data
      • Excel
      • PDF
    • Delete a Database App
    • Formula Functions
      • Formula Funtions
      • Text Functions
      • Number Functions
      • Date Functions
      • Formatting Functions
      • Aggregate Functions
      • Database Functions
  • Ready to Use Apps
    • Files Manager
      • Working with Folders
        • Adding a Folder
        • Adding a Sub-Folder
        • Downloading a Folder
        • Renaming a Folder
        • Moving a Folder
        • Sharing a Folder
        • Managing Folder Properties
        • Setting-up Approval Process on a Folder
          • Approval Settings
          • Defining a Approval Process
          • Modifying Approval Process
          • Deleting Approval Process
        • Deleting a Folder
        • Sequencing Sub-Folders
      • Working with Files
        • Adding Files
        • Adding a New File
        • Viewing File Details
        • Downloading a File
        • Viewing Files Revisions
        • Adding a New Version to a File
        • Locking a File
        • Unlocking a File
        • Sharing a Record
        • Adding a Comment to a File
        • Copying/Moving a File
        • Setting-up Approval Process on a File
          • Approval Settings
          • Defining a Approval Process
          • Modifying Approval Process
          • Deleting Approval Process
        • Approving a File
        • Deleting a File
    • Kanban WorkFlows
      • Installing Tasks Manager
      • Adding a Task
      • Viewing a Task
      • Editing a Task
      • Sharing a Tasks Manager
      • Sharing a Task
      • Completing a Task
      • Undoing the completion of a Task
      • Deleting a Task
    • Spreadsheet To Smart Apps
  • FAQ
    • Update User Profile
    • Lost Access
    • Two Factor Authentication
      • Authenticator App Setup
      • Security Key Setup
      • Change Primary Channel
  • Additional Features
    • Reports Management
    • Smart Dashboards
  • Portal Management
    • Address Book
      • Working with Address Book
    • Portal Administration
      • Workspace Branding
        • Change Logo
        • Remove Logo
        • Change Workspace Details
      • Data Retention Policy
      • Theme Selection
      • Notifications Settings
      • Security
        • Password Settings
        • Security Policy
        • Two Factor Authentication
          • Setup as Optional
          • Setup as Mandatory
      • Time/Date Settings
      • Monitoring
        • Activity Log
        • Site Log
      • Special Privileges
      • Templates
        • Global Catalogue
        • Local Catalogue
    • Sites Management
      • Working with Sites
      • Site Members
        • Adding Individual Members
        • Removing Members
        • Managing Workgroups
          • Adding Work Group
          • Editing a Work Group
          • Deleting Work Group
          • Adding members to a Work Group
        • Contact Groups
          • Adding a Contact Group
          • Removing a Contact Group
        • Site-Specific Special Privileges
        • Visibility Settings
      • Managing Sites
        • Creating a New Site
        • Editing a Site
        • Making a Site Active
        • Archiving a Site
        • Deleting a Site
        • Customising Site Dashboard
        • Exporting Site as Template
        • Site Quota Settings
        • Notification Settings
      • Site Categories
        • Adding a New Site Category
        • To Edit a Site Category
        • Deleting a Site Category
        • Re-ordering Site Categories
      • Site Statuses
        • Adding a New Site Status
        • Editing a Site Status
        • Deleting a Site Status
        • Re-ordering Site Statuses
    • Billing and Payment
      • Setup Payment - Direct Debit
      • Setup Payment - Card (Debit/Credit)
      • Invoices
Powered by GitBook
On this page

Was this helpful?

  1. Custom Database Apps
  2. Formula Functions

Text Functions

Name

Catergory

Arguments

Result

Description

Examples

Chr

Text Functions

NUMBER

ascii_code

TEXT

Returns a one-character text value containing the character specified by ascii.

Chr(65) will return “A”

ConCats

Text Functions

TEXT

Returns the merged text value of all the arguments.

ConCat(“abc”,”def”,”ghi”) returns “abcdefghi”

LTrim

Text Functions

TEXT text, [TEXT character_mask]

TEXT

Strip whitespace (or other characters) from the beginning of a text value.

LTrim(” abc “) will return “abc “ LTrim(“–abc—“, “-“) will return “abc—“

Num

Text Functions

TEXT text

NUMBER

Converts a text value to number if the text value contains only numeric characters and a decimal point.

Num(“8950”) will return 8950 in numeric form

RTrim

Text Functions

TEXT text, [TEXT character_mask]

TEXT

Strip whitespace (or other characters) from the end of a text value.

RTrim(” abc “) will return ” abc” RTrim(“–abc—“, “-“) will return “–abc”

Str

Text Functions

DATABASE_FIELD/MIXED variable

TEXT

Returns text value of a variable.

Str(“12345”) returns “12345” in text form

StrLen

Text Functions

TEXT_FIELD/TEXT text

NUMBER

Returns the length of the given text value.

StrLen(“Hello World”) returns 11

SubStr

Text Functions

TEXT_FIELD/TEXT text, NUMBER start, [NUMBER length]

Returns the portion of text value specified by the start and length parameters.

TEXT_FIELD/TEXT text The input text value. Must be one character or longer.

INTEGER start If start is non-negative, the returned text value will start at the start’th position in text value, counting from zero. For instance, in the text value ‘abcdef’, the character at position 0 is ‘a’, the character at position 2 is ‘c’, and so forth.

If start is negative, the returned text value will start at the start’th character from the end of text value.

If text value is less than start characters long, FALSE will be returned.

INTEGER length If length is given and is positive, the text value returned will contain at most length characters beginning from start (depending on the length of text value).

If length is given and is negative, then that many characters will be omitted from the end of text value (after the start position has been calculated when a start is negative). If start denotes the position of this truncation or beyond, FALSE will be returned.

If length is given and is 0, FALSE or NULL, an empty text value will be returned.

If length is omitted, the substring starting from start until the end of the text value will be returned.

Trim

Text Functions

TEXT text, [TEXT character_mask]

TEXT

Strip whitespace (or other characters) from the beginning and end of a text value.

Trim(” abc “) will return “abc” Trim(“—abc–“, “-“) will return “abc”

PreviousFormula FuntionsNextNumber Functions

Last updated 4 years ago

Was this helpful?