browse by category or date

I think String-truncating algorithm is quite important. Because some words will have a totally different meaning when you accidentally precise in removing the trailing letters.

I think this could be the best example of when things go wrong. I saw it on my LinkedIn page:
linkedin-string-failed

Names are hidden to protect the innocent(s) 😀

A simple check to the truncated string, whether it ends with a face-blushing word or not, should be sufficient.

GD Star Rating
loading...

About Hardono

Hi, I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 9 years.

1 Trackback

 

No Comment

Add Your Comment