© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
50 replies
Kekke

How do I split these strings?

If I have these inputs, wich could be random numbers.
How do I split the string into two parts where the middle "-" is the where the split happens?
I will use the splits in a fraction calculator.

"2/3 - 2/-3"
"2/-3 - 2/3"
"2/3 - 2/3"
"-2/-3 - 2/-3"
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Next page

Similar Threads

❔ how do i attach strings to integers and how do i use strings in while
C#CC# / help
3y ago
How do I add strings to a list?
C#CC# / help
2y ago
❔ How can I diff 2 strings?
C#CC# / help
3y ago
How do these parameters even work?
C#CC# / help
2y ago