Flashes Home Search Notifications Sign in Post
Greg Donald 🦋 @gregdonald.com · Jan 5

Calling .replace on the String object that a and b are referencing seems like what you'd want. When you call = on b you're creating a new String object reference.

1 likes 0 replies

?

Legal

Privacy Policy Terms and Conditions

Contact

FAQs Feedback

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store

Feeds

  • Global
  • Trending
  • Blacksky Images
  • Photography
  • Discover
Browse all feeds
Feedback Ideas, bugs, and what ships next
Privacy Policy Terms and Conditions FAQs Bluesky Instagram Threads
Get it on the App Store