Posts by Victor Hugo Soares Freitas • 1 point
1 post
-
-1
votes2
answers180
viewsA: Keyword Search Assign If and Else with Javascript
The index returns the initial position of the searched Text, if this text is at the beginning of the string it will return to position 0, when it finds nothing it returns -1. In the case if should…