Tema: Re: JavaScript klaida ?
Autorius: -=Valdas=-
Data: 2011-12-19 09:57:01
jau issiaiskinau, mano atveju geriau naudoti indexOf...aciu visiems

"VaidasB" <vaidas@nomail.com> wrote in message 
news:jcmqh7$b0h$1@trimpas.omnitel.net...
> \. bandyčiau
>
> On 19/12/2011 09:51, -=Valdas=- wrote:
>> nu geras, o tai kaip padaryti, kad taskas ir butu taskas??
>>
>> "trigras"<trigras@gmail.com>  wrote in message
>> news:op.v6p7pmwwlbxkwf@sigitas.rubedo...
>> Mon, 19 Dec 2011 08:34:38 +0200, -=Valdas=-<valdonas@super.lt>  ra??:
>>
>>> Na niekaip nesuprantu kodel suranda:
>>>
>>> <script>
>>> a="2011112";
>>> t=a.search("2011.12");
>>> alert(t);
>>> </script>
>>>
>>> gal kas turit minciu ?
>>>
>>>
>>
>> The dot matches a single character, without caring what that character 
>> is.
>> The only exception are newline characters.
>>
>>