excel substring function code example Example: excel get some char from string LEFT(text, [num_chars])