How to extract a substring from the leftmost end in Sage X3?

By | February 20, 2016

Sage X3 has a function, which helps us to extract a substring from the leftmost end of a string.

The function used to extract the substring is Left$().

Syntax: Left$(String, nb_string)

Refer the following example for the same:

truncating the string from left

truncating in Sage X3

In the above exmaple we use left$() for the extraction from the string, upto 16 characters.