Getting index of an Array from a word

@Babjee.Vangipurapu
Welcome to the forum

Your sample text has no line breaks so:

will not have any splits

However we could use regex and retrieving the position e.g. like:
grafik

And can also exctend it to multiple matches if needed
[CheatSheet] - System.Text.RegularExpressions | RegEx - News / Tutorials - UiPath Community Forum