Remove string on specified character

Hi, how do I slice off a string on a specified character. For example, I have To.Remove.This. How do I omit both the dot character and the word after the dot symbol?
1 Reply
ACiDCA7
ACiDCA72y ago
String.Replace Method (System)
Returns a new string in which all occurrences of a specified Unicode character or String in the current string are replaced with another specified Unicode character or String.
String.Split Method (System)
Returns a string array that contains the substrings in this instance that are delimited by elements of a specified string or Unicode character array.
Want results from more Discord servers?
Add your server