Concatenating


String Concatenation (+)

Use the plus operator

str1 = "some" 
str2 = "text"
result = str1 + str2

print(result[3]) ' positive indices from the left / start
print(result[-3]) ' negative indices from the right / end

str3 = '' ' empty string




© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext