convertWhiteSpaceUrl function

String convertWhiteSpaceUrl(
  1. String text
)

Implementation

String convertWhiteSpaceUrl(String text) {
  return text.replaceAll(' ', '%20');
}