Get value after some specific character in C#

Get value after some specific character in C#

So I want to extract the&nbsp;<code>value</code>&nbsp;from a&nbsp;<code>string</code>&nbsp;the&nbsp;<code>value</code>&nbsp;will place at the right after my specific character in this case my specific character is&nbsp;<code>-</code>&nbsp;and will place at the right.

So I want to extract the value from a string the value will place at the right after my specific character in this case my specific character is - and will place at the right.

The string will look like this:

TEST-QWE-1
TEST/QWE-22
[email protected]
TEST-QWE-ASD-4

And from that string I want to extract

1
22
3
4

How I do that in C#? Thanks in advance

c-sharp

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

C. C++. C#. 차이점 알려드림. 5분 순삭. Explain C.C++.C#. Like I'm Five

C. C++. C#. 차이점 알려드림. 5분 순삭. Explain C.C++.C#. Like I'm Five. 아시죠? C는 C++.C# 줄인말이 아니라는거?

Dicey Issues in C/C++

C/C++ problems. If you are familiar with C/C++then you must have come across some unusual things and if you haven’t, then you are about to. The below codes are checked twice before adding, so feel free to share this article with your friends.

Learn how to perform CRUD operations using C Sharp

QuickStart: CRUD Operations in C Sharp. Learn how to perform CRUD operations using C Sharp for MongoDB databases.

Loops in C++ | For, While, and Do While Loops in C++

In this Video We are going to see how to use Loops in C++. We will see How to use For, While, and Do While Loops in C++.

Using isdigit() in C/C++

In this article, we'll take a look at using the isdigit() function in C/C++. This is a very simple way to check if any value is a digit or not. Let's look