T
Trev
Hi,
If I had a string denoted by MyArray[5], how would I extract the number
in brackets for use in the programme later on? I've tried "\[(\d*)\]"
but all I get is a syntax error. What would be the usage for
using the number in the programme (so that I can check if the index is
within bounds)?
Talking of groupings, if I had a string like MyRef.MyArray.MyVal how
would I extract the strings
into an array for processing, so that Array[0] = MyRef, Array[1] =
MyArray, Array[2] = MyVal ?
There could be any number of strings, separated by periods.
TIA
Trev
If I had a string denoted by MyArray[5], how would I extract the number
in brackets for use in the programme later on? I've tried "\[(\d*)\]"
but all I get is a syntax error. What would be the usage for
using the number in the programme (so that I can check if the index is
within bounds)?
Talking of groupings, if I had a string like MyRef.MyArray.MyVal how
would I extract the strings
into an array for processing, so that Array[0] = MyRef, Array[1] =
MyArray, Array[2] = MyVal ?
There could be any number of strings, separated by periods.
TIA
Trev