ApiEntityBaseTGetSafeApiString Method

Car Delivery Network API DocumentationCar Delivery Network
Takes the specified raw imported value, trims and performs ToUpper/ToLower as specified

Namespace:  CarDeliveryNetwork.Api.Data
Assembly:  CarDeliveryNetwork.Api.Data (in CarDeliveryNetwork.Api.Data.dll) Version: 3.2.3017.0 (3.2.3017)

public static string GetSafeApiString(
	string value,
	bool trim = true,
	Nullable<bool> toUpper = null


Type: SystemString
The raw imported value
trim (Optional)
Type: SystemBoolean
Trims whitespace from the ends of the string
toUpper (Optional)
Type: SystemNullableBoolean
True: Upper case retrned, False: Lower case returnd, Null: Case not changed

Return Value

Type: String
The value with the specified tasks performed on it
See Also