I have a string format like following !
string data = @usertext(Enter Your Code, date, test, bla, bla,bla,......) ;
string data = @usertext(Give Your data, date, test, bla, bla,bla,......) ;
Even it can be like
string data = @usertext(Enter Your Code) ;
string data = @usertext(Give Your data)
That means the portion of bracket can be separated using comma or even there can have only one portion like second sample.
At first the code will check "is there @usertext" in the string. If @usertext is found there then it will parse the string & will take the first portion of bracket "Enter Your Code" or "Give Your data" from first or second sample of string. then I will get value using this portion. Then I will replace whole string by using this value.
Please keep in mind that there can have many thing before or after @usertext portion Like
string data = @variable(composite, @usertext(Give Your data,data,test));
string data = Menu, @usertext(Give Your data), Table;
My work is only with the portion of "@usertext(Give Your data)" OR @usertext(Give Your data,data,test). I need to pick the first portion of first bracket then I will get value using this portion and whole "@usertext(Give Your data,data,test)" will be replaced by this vaue.