How to capture the Empty Field Position from terminal. Error throwing as "Field not found"

Hi All,

I want to get a specific field at position from terminal and save as a variable, that filed has 3 scenarios “P” or “T” or " "
I can able to extract the text in the position, But while coming to Blank i can not capture the Blank throwing error as “Field not found”. Please suggest how can i capture the position if it has empty field also

Hi @VinothComplee :wave:

You said you have a variable. Pass that variable to the below function with an if condition and you can identify empty or null:

String.IsNullOrEmpty(YourVariable)

Cheers!