Gambas/String Manipulation

String Concatenation
The concatenation operator represented by an ampersand symbol is used to join two strings together:

The addition operator cannot be used to concatenate strings
In gambas, unlike traditional basic, the plus symbol cannot be used as concatenation operator. If an attempt is made to use a plus symbol for this purpose, a type mismatch error will occur when an attempt is made to run the program:

Concatenation combination assignment operator
The concatenation combination assignment operator represented by a andequals symbol, can also be used to concatenate strings:

Search and Replace
hello i have made a try to search in a text file -two function : 1- search by line and column 2-search by pos

-first function returns an array with results it will be for example like this ["1,12", "2,1"] , the first element is the line the second is the column

-second function returns also an array but single one ex:[1,2,45,455] every element is the string pos

here you are ! :