Skip to content

StringTools

Namespace: Rest_API.Helper

This class provides utility methods for string manipulation.

public static class StringTools

Inheritance ObjectStringTools

Methods

SanitizeString(String)

Takes a string input and sanitizes it by removing any characters that are not alphanumeric, spaces, or underscores.

public static string SanitizeString(string input)

Parameters

input String

Returns

String