Strings functions in Golang

  • 19 April 2020
  • ADM

List of Golang string functions tested example and short description.

The strings package provides many useful string-related functions.


How to split a string into slice in Golang

  • 15 May 2019
  • ADM

How to split a string into slice using Golang. For a simple split by a singular character you can use Split() method from strings package. For more complex rules the regexp.Split() method can be used.


How to split a string in Java

  • 05 March 2018
  • ADM

How to split a string in Java using both variants of the split() method: split(String regex) and split(String regex, int limit).


Split a string and loop in SQL Server

  • 20 May 2016
  • ADM

How to split a string and loop it's values in Microsoft SQL Server. Simple solution used to insert data into tables.


Split URL into components using regex

  • 23 May 2016
  • ADM

Split URL into components (protocol, domain, port and uri) using regex in Java. Simple and tested example.