DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# get last two characters of string
// str = "Hello world"; var result = str.Substring(str.Length - 2); // result = "ld"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#characters
#string
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit