Member-only story
10 Things You Should Know About Strings In Julia
Unique capabilities and crucial information for using strings in Julia.
At a certain point of familiarity with a given programming language, we have learned all of the features and we have learned how to use the language at a foundational level. The next step in expanding familiarity in a new language, then, is learning how to work with specific data-types and structures inside of our language. On the long list of data-structures that one could start with, one of the most important is the String
.
I tend to find the String
to be one of the most important data structures in a language. This is primarily due to the fact that all of the data on our disk will come through the String
data-type before it is parsed into a type that more accurately represents it inside of the language. All of the data on our harddisk is in String
format, so in order to unlock the ability to utilize an entire piece of essential computer hardware at all we will need to work with strings.
Fortunately, the strings in the Julia programming language retain many of the common naming conventions and features that are found across a plethora of programming languages. String processing in Julia is often done the same exact way it would be done in other languages. Make no mistake, though, Julia…