REMOVE leading zero and alpha characters in string in XSL...
hi
i have a code in C language
Basically i want to remove leading zero and alphabets from string
example
000C77499 should become 7749
000wert499 should become 499
00erty100 should become 100
I want to do it in XSL . PLEASE HELP
In the below CODE above objective is already achieved in C language
CString Buff = "000C77499";
Buff.MakeUpper();
int len = Buff.GetLength();
int index = 0;
for(int len1 = Buff.GetLength(); len1>0;len1--)
if(0 != isdigit(Buff.GetAt(len1-1)))
{
index++;
continue;
}
else
{
break;
}
Buff = Buff.Mid(len-index,len);
PLEASE HELP
|