Quantcast
Channel: When should I use `` instead of `~~` to join two strings? - Mathematica Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Szabolcs for When should I use `` instead of `~~` to join two strings?

In my opinion, if you want to join strings, the choice between <> and ~~ is clear: StringJoin is explicitly intended to join strings. StringExpression is not, it just happens to do so in many...

View Article



When should I use `` instead of `~~` to join two strings?

Both <>, i.e. StringJoin and ~~, i.e. StringExpression, can be used to join two strings. I know that only the latter can be used to describe a string pattern (instead of joining actual strings)....

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images