this post was submitted on 21 Aug 2023
1 points (60.0% liked)
Learn To Code
29 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Could do something basic like this or validate the input using a loop and if statements to apply rules.
https://stackoverflow.com/questions/7574606/left-function-in-c-sharp#7574615