What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-17 06:45:03
c sharp substring
// To get a substring of a string use 'Substring()' // The first value is the index of where to start and the second // value is the lenght of the substring. string str = "Hello World!" str.Substring(3, 4) // Output: "lo W" // If yo... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5