Class StringExtensions
public static class StringExtensions
- Inheritance
-
StringExtensions
- Inherited Members
Methods
- ParseFloat(string)
Parses the specified string as an float.
- ParseFloat(string, float)
Parses the specified string as an float.
- ParseInt(string)
Parses the specified string as an integer.
- ParseInt(string, int)
Parses the specified string as an integer.
- ParseIntBool(string)
Parses the specified string as an integer based boolean (1 = true, 0 = false).
- ParseIntBool(string, bool)
Parses the specified string as an integer based boolean (1 = true, 0 = false).
- ParseObject(string)
Resolves the specified GameObject ID string to an object.
This is the temporary ID created from ToString(). See ToNwObject(Guid) to parse persistent UUIDs.
- ParseObject<T>(string)
Resolves the specified GameObject ID string to an object.
This is the temporary ID created from ToString(). See ToNwObject(Guid) to parse persistent UUIDs.
- StripColors(string)
Strip any color codes from a string.
- TryParseObject(string, out NwObject?)
Tries to resolve the specified GameObject ID string to an object. A return value indicates whether the conversion succeeded or failed.
This is the temporary ID created from ToString(). See ToNwObject(Guid) to parse persistent UUIDs.
- TryParseObject<T>(string, out T?)
Tries to resolve the specified GameObject ID string to an object. A return value indicates whether the conversion succeeded or failed.
This is the temporary ID created from ToString(). See ToNwObject(Guid) to parse persistent UUIDs.