Ad
  • Custom User Avatar

    Then maybe you shouldn't trim at all.

  • Custom User Avatar

    if that's the case; i am using str.trim();
    i inserted a log, here what the output said :
    It seems like random test is generating multiple strings

    XuagptFvrogtxBafhmxcnAdPotcjtivlpXxjxHwyfznJxaYeL
    KouumrEyttwahqjTefqHdleytTtwaTsffvrK
    HqjiiEyttwahqj
    PhwyfDUagptefqyMredpxuagpLeVrogtxzYts

  • Custom User Avatar

    It seems random tests are generating strings with leading and/or trailing spaces.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution