Get addition of strings in Julia using concatenate operator - * operator Last Updated : 12 Jul, 2025 Comments Improve Suggest changes Like Article Like Report The * is an concatenate operator in julia which is used to concatenate different strings and/or characters into a single string. Syntax: *(s::Union{AbstractString, AbstractChar}, t::Union{AbstractString, AbstractChar}...) Parameters: Union{AbstractString, AbstractChar}: Specified strings or characters Returns: It returns a new concatenated string. Example 1: Python # Julia program to illustrate # the use of concatenate operator * # Get concatenation of different strings println("Geeks" * "forGeeks") println("GFG" * " gfg") println("Geeks" * "for" * "Geeks") println("a" * "b") println("a" * " b" * " c") Output: GeeksforGeeks GFG gfg GeeksforGeeks ab a b c Example 2: Python # Julia program to illustrate # the use of concatenate operator * # Get concatenation of different strings println("1" * "-2") println("1" * ", 3" * ", 5") println("2" * " 4" * " 6" * " 8") Output: 1-2 1, 3, 5 2 4 6 8 Comment More infoAdvertise with us Next Article Get repetition of a string in Julia - repeat() Method K Kanchan_Ray Follow Improve Article Tags : Julia Similar Reads Get repetition of strings in Julia - ^ operator The ^ is an operator in julia which is used to repeat the specified string with the specified number of times. Syntax: ^(s::Union{AbstractString, AbstractChar}, n::Integer) Parameters:  s::Union{AbstractString, AbstractChar}: Specified strings or charactersn::Integer: Specified integer Returns: I 1 min read Get repetition of a string in Julia - repeat() Method The repeat() is an inbuilt function in julia which is used to return a string which is the repetition of specified string with specified number of times. Syntax: repeat(String::AbstractString, r::Integer) Parameters: String: Specified string or character r::Integer: Specified number of times Returns 2 min read Get a substring of specific size from starting of a string in Julia - first() Method The first() is an inbuilt function in julia which is used to return a string consisting of the first n characters of the specified string, where n will be passed as parameter. Syntax: first(s::AbstractString, n::Integer) Parameters: s::AbstractString: Specified string. n::Integer: Specified integer 1 min read Remove end characters from strings in Julia - strip(), lstrip() and rstrip() Methods The strip() is an inbuilt function in julia which is used to remove leading and trailing characters from the specified string str. These removing elements is specified by given characters chars. Syntax: strip(str::AbstractString, chars) Parameters: str::AbstractString: Specified string. chars: Speci 2 min read Remove starting and ending characters of string in Julia - chop() Method The chop() is an inbuilt function in julia which is used to remove the last character from the specified string. If this function use head and tail parameter, it removes the specified number of first head and the last tail characters from the string. Syntax: chop(s::AbstractString, head::Integer, ta 1 min read Get a substring of specified length from a string in Julia - SubString() Method The SubString() is an inbuilt function in julia which is used to return a part of the specified parent string s within range i:j or r, where i, j and r is given as the parameter. Syntax: SubString(string::AbstractString, i::Integer, j::Integer) or SubString(string::AbstractString, r::UnitRange) Para 2 min read Like