Visual Basic Right String Functions In C