The indexing of strings is almost the same as string indexing in python. What I wanted to know was can we chain functions using the alteryx formula tool? example replace(.....).trim(........) like one would do in python.
@EagleOne, the challenge number is unrelated to the difficulty. This is challenge #2, which means it is the second challenge. There is a new challenge every week. Difficulty is roughly divided into beginner, intermediate and advanced, which you can see in the Tag/Label of the original post. You can even filter for the beginner ones (look for 'Labels' on the right side).
@hamza_khan , you can stack functions in the formula tool, e.g. Trim(Replace(String, Target, Replacement),y). You can also add more formulas in the formula tool by clicking the '+' Button just below the formula window.