...
Code Block | ||||
---|---|---|---|---|
| ||||
a = "ABC"]; c = a.length(); // c = 3 |
ma
match()
The match()
operator takes a regular expression as its argument. The result is true if the regular expression matches the string and false otherwise. For example:
...
...
Code Block | ||||
---|---|---|---|---|
| ||||
a = "ABC"]; c = a.length(); // c = 3 |
ma
match()
The match()
operator takes a regular expression as its argument. The result is true if the regular expression matches the string and false otherwise. For example:
...