sanitize

fun sanitize(userId: String): String?(source)

Removes white spaces and new lines

  • Returns: An optional String of the trimmed userId. This is null if the userId is empty.