Scout Chart Creator
  • Overview
  • Get Started
    • Tutorial 1: NMR Daily Transaction Count
    • Tutorial 2: LPT Weekly Volume (USD)
    • Tutorial 3: NMR vs LPT Daily comparison
  • Pipeline
    • Filter
    • Project
    • Group
      • Accumulators
    • Sort
    • Unwind
    • Custom
  • Data Source
    • Transactions
    • States
    • Contracts
    • Aragon
    • Livepeer
    • dYdX
    • Set
    • Token holders
  • Operators
    • Math operators
    • Logic operators
    • Function operators
    • Array operators
    • String operators
  • Config
  • Protocols
    • Dodo
      • 24H trade volume
      • Deposit & Withdraw
    • Livepeer
    • dYdX
      • Making sense of the trade data
    • MakerDao
    • Pickle Finance
      • Example: Daily deposit and withdraw of jar 0.88
      • Example: Listing all borrows of a strategy
  • FAQ
    • Dealing with "logs" field in "Transaction"
    • How to handle "Query Timeout" error?
    • How to use a variable in a Pipeline
  • Research
    • The circulating supply of DODO tokens
    • How are bitcoins doing on Ethereum? (as of Jan 20th 2021)
Powered by GitBook
On this page

Was this helpful?

  1. Operators

String operators

strSearch(string, substring, start, end)

Searches a string inside another string and returns the index(zero-based) of the first occurrence. If not found, returns -1.

string : The string to search from.

substring : The string to search for.

start : The starting index position for the search. Optional.

end : The ending index position for the search. Optional.

If both start and end are left empty, the search will cover the entire string.

strConcat(string0, string1, ...)

Joins all the (string type) arguments together and returns the concatenated string.

strToLower(string)

Converts a string to lowercase letters.

strToUpper(string)

Converts a string to uppercase letters.

strLength(string)

Returns the length of the string.

strExtraction(string, start, count)

Extracts characters from a string.

string : The string to extract characters from.

start : The starting index position for the extraction.

count : The number of characters needs to be extracted from the start position. If the value is -1, every character starting from the start position will be extracted.

toString(argument)

Converts a value to a string. Returns null if the argument is null or missing.

PreviousArray operatorsNextConfig

Last updated 4 years ago

Was this helpful?