|
|
| How can I test to see if a variable has a pattern or a substring in it ? |
| autos06 you mean if a string has a pattern or substring in it? |
| Yes sir |
| Str.indexOf(substr) or check out regex |
| How would I do a regex sir ? |
| Www.regular-expressions.info |
| Thx u Location.href = which; <-- that works perfect... how can I make that spawn in a new browser ? I'm use to doing target="_blank" |
| Window.open(which) |
| Thxs Worked perfect Thxs |