Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by gamegoblin

9 years ago

I believe the parent is saying

    string_to_store = userstring + extra space
    dynamo.store(key, string_to_store)

    ...

    stored_string = dynamo.retrieve(key)
    user_string = stored_string - extra space

That way the user puts a string in and gets the same string out. No problem.

0 comments

gamegoblin

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities