string

  • c# .net split strings with math divrem using lambda linq

    Recently I came across a nice alternative to loops using linq for evenly splitting a string using Math.DivRem. The following example illustrates how this can be used to parse a sequence of numbers based on a time series which may… Continue reading

  • Classic ASP VB Filter File Name Extensions From String EndsWith

    Came across a classic ASP VB site recently in my adventures. There was a feature request to filter out some file extensions from existing code logic, and I discovered quickly most of my .Net methods were unavailable, so I came… Continue reading

  • Concatenate string in Objective-C

    Unfortunately, this is not as straight forward as it seems it should be. This really comes down to roughly two approaches in my opinion: stringByAppendingString approach: strigWithFormat approach: References StackOverflow, http://stackoverflow.com/questions/510269/how-do-i-concatenate-strings-in-objective-c cocoadevcentral.com, “Learn Objective-C”, http://cocoadevcentral.com/d/learn_objectivec/ Continue reading

  • C++ concatenate strings with stream or sprint

    There are many different ways to achieve this, but in my opinion the best method for something this commonly used is a solution that does not require additional external dependencies.. However, see reference at the bottom of this post for… Continue reading

  • Quick .Net Encryption Reference

    The code below represents a very basic .NET encryption class which has been tested and should work in your application – simply plug and play. 🙂 Contains two static methods that can be called without needing to instantiate the class.… Continue reading