<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NCX94J4" height="0" width="0" style="display:none;visibility:hidden"></iframe>

Long function for IBM Planning Analytics (TM1)

    Long returns the length of the string.

    Where can the Long function be used?


    Rules and TurboIntegrator

      Which TM1 Server version is the Long function available for?

      Version 11 and 12

        What is the syntax for Long?

        Long(String)​

        • String = A text string​

        Relevant Functions

        • CapIt = capitalises the first letter of every word in a string
        • Char = Converts the ASCII numeric code into the character
        • Code = Converts the character to the ASCII numeric code
        • CodeW = Returns the UTF-8 numeric code for a specified character within a string
        • Delet = Deletes a specified number of characters from a specified position within a string
        • Fill = Repeats a string to the specified number of lengths
        • Insrt = Inserts one string into another string at the given position number
        • Long = Returns the length of the string
        • Lower = converts text characters to lowercase
        • Numbr = Converts string character to a number
        • Scan = Searches the specified substring within a string and returns the starting position of the substring
        • Str = Converts number to a string character
        • SubSt = Returns the substring of a specified string
        • Trim = Removes any leading and trailing spaces from a string
        • Upper = Converts text characters to upper case