Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27349

VS 2010 Detect last character of a TextBox

$
0
0
I have a String inside of a TextBox.

What is the best way to detect if the last character in the TextBox is an end of line character, and if it is not, then add an end of line character to the TextBox?

Is there an Ascii code for the end of line character? (When I say end of line character, I mean a new blank line)

Viewing all articles
Browse latest Browse all 27349

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>