I was reading through some source code and came across what looks like a call to a function:
Right$(string, 3)
I can understand this is just simple string manipulation, but what is the meaning of the $ symbol?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
$ has no meaning in context of Right function. In ancient VB Right$ was a function in new VB it is Right but you can also use Right$ (for backward compatibility)
Right$("hasan", 3)andRight("hasan", 3)are same in VB.NETIt is merely a convention used to name String related functions.