Microsoft Excel

Functions
Let A1 = "abcdef"
 * Extracting sub-string

=LEFT(A1,4) = "abcd"

Examples
Example 1