Suppose I have a string - “ABCD”
I have to get the value from index Say 2
Here index 2 means the value is C
this value is dynamic
Please suggest how to achieve this
Suppose I have a string - “ABCD”
I have to get the value from index Say 2
Here index 2 means the value is C
this value is dynamic
Please suggest how to achieve this
Are you looking for this?

YourStringVar(YourIndexInt).ToString
A more defensive approach could look like this:

here we would avoid an exception when the index is greater as the length of the string

You can use this method to get index value at straight, But can you please explain in what you want to extract dynamic index value
Regards
Jai
we keep in mind:

therefore we did
Sorry, what was that for Naming?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.