Assembly: OpenTD.dll Utility methods for working with strings.
Inheritance
object ← StringExtensionsInherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Methods
FirstToUpper(string)
Capitalizes the first letter of a string.Parameters
str string
Returns
string System.String.find_first_of(string, string, int)
Finds the position of the first of a list of characters. Returns -1 on failure.Parameters
input string
characters string
The characters to search for.
startPosition int
The starting position to look in the string. Defaults to 0.