• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8938
  • Last Modified:

What is vbCrLF VB Constant?

Which are the ASCII codes represented by vbCrLf constant used in Visual Basic programation language?
0
salvaterra
Asked:
salvaterra
1 Solution
 
Jorge PaulinoIT Pro/DeveloperCommented:
chr(10) + chr(13)
0
 
PaulHewsCommented:
Actually I believe it's
Chr(13) & Chr(10)

13 - Carriage Return
10 - Line Feed
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
You can quickly figure it out for yourself in the immediate window:

? asc(mid(vbcrlf,1,1))
 13
? asc(mid(vbcrlf,2,1))
 10
? asc(vbcr)
 13
? asc(vblf)
 10
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now