Forums - C# Corner

Forum guidelines

String Function

Feb 11 2019 12:15 PM
I have...
Dim strXML as string="<NewDataSet>
<USPWEB>
<NUMBER>4112344112344113</NUMBER>
<CTYPE>VI</CTYPE>
<EXPIRATION>0623</EXPIRATION>
<ACCOUNT>2036220196290</ACCOUNT>
<STATUS>A</STATUS>
<DEFAULT>N</DEFAULT>
<TYPE>R</TYPE>
<DATE>2016-04-11T11:02:13-04:00</DATE>
<ACCOUNTREFID>100001</ACCOUNTREFID>
<NTITY>BILLPAY</NTITY>
<STRRETVAL>99</STRRETVAL>
</USPWEB>
</NewDataSet>"
Now I want a function(strXML.<someFunction>) where I can find the value for STRRETVAL is 99
* STRRETVAL can have any number or character

Answers (1)