J Trahair
Well-known member
Hi all
I have converted some VB into C#, but the VB functions Format, Mid, Asc, Chr, Replace, Trim, Len and Val produce the error:
The conversion site produced the following code (edited by me):
In C#, how do you do the functions above (as examples)?
Thanks in advance.
Jonathan
I have converted some VB into C#, but the VB functions Format, Mid, Asc, Chr, Replace, Trim, Len and Val produce the error:
HTML:
Error 1 The name 'Strings' does not exist in the current context etc.
The conversion site produced the following code (edited by me):
HTML:
Strings.Format(gnumValueToWrite, "000")
Strings.Mid(strUnoffsetTextStringToWrite, 1, 1)
Strings.Asc("d")
Strings.Chr(69)
Strings.Replace(strBufferAll, "a", "b")
Strings.Trim("Tomorrow ")
Strings.Len(strStringAsHex)
Conversion.Val("12")
In C#, how do you do the functions above (as examples)?
Thanks in advance.
Jonathan