How do i find the charactors in teh first index and the last index number of a string?
View Complete Post
I need some help here. I have a document containing some string like the following:
Now what I need is that I need to extract this "BusinessGoal"
which as you can see, is 32 characters ahead after "-" (hyphen) and change it's case to uppercase.
The real challange is that, This "BusinessGoal" should only be replaced only and only where there is
"Ref-<any 32 characters>" before it and not all. So if I find something like TypeName =
"BusinessGoal" it will be simply ignored.
So how am I going to make that reg Ex. I think it would be a combination of Regex and String Api.
Kindly help me out.
Thanks and regards
I guess my Query is pretty simple, but I am very new to MDX so having a problem in formulating the same. I need to find out the top 10 members in my hierarchy on basis of a measure and then need to sum all the others in the Hierarchy as "All Others". To
explain it in a bit of detail, Suppose I have a Geography Hierarchy containing Cities A, B,C...till Z. Now I want the population (measure) of the top 10 cities and in the 11th position I want the sum of all the rest cities (which are not counted in the top
10) for two years say 2010 and 2009 and then want the absolute difference of that as well. The result set should look like,
How i extract 0 from " flag=0" OR "flag = 0".
These are string value.
document.getElementById("<%= errorText.ClientID %>").innerText = error;
And my C#:
textError = "This is not working!!!";
Even if i pass the string instead of the 'textError' variable i still get the same error :(
Can anyone help me?
i have a string contain :
ajbfk <html> ... </html> ksadfksadfwie...
now i wnat to find string beetwen <html> tag
how i can do that?