**This website will be shutdown permanently soon**

This website and apps are for sale. Only serious offers will be considered. Contact [email protected]

** Server is current under maintenance, any changes will be lost **

Help : how do i compare two words to see if they are the same word

RE: how do i compare two words to see if they are the same word

по admin опубликовано Jan 29 2022, 8:22

In Self you can just use the == operator,

"hello" == "hello";
"hello" !="goodbye";
var word = "hello";
if (word == "hello") {
...

 

For the star variable is patterns use toString() first.

if (star.toString() == "hello") {
  ...


Идентификатор: 41579667
Опубликовано: Jan 29 2022, 8:22
Ответы: 0
Вид: 837, сегодня: 4, неделю: 7, месяц: 21
0 0 0.0/5