I want to know how I can get the last character of any string with GO. So far the only thing I could do is get each character from a string.
for i := 0; i < len(palabra); i++ {
fmt.Println(string(len(palabra) [i]))
}
I want to know how I can get the last character of any string with GO. So far the only thing I could do is get each character from a string.
for i := 0; i < len(palabra); i++ {
fmt.Println(string(len(palabra) [i]))
}
I am using vba with excel and I want that when opening the browser from visual with ActiveWorkbook.FollowHyperlink , the browser returns a value that has already been loaded to continue with the code. Something like "wait for the browser to load".
What I want to do is for every line break in a cell, add "&0A" to the end of the line. I came up with a for Each but I don't know how to recognize line breaks.