Ne klaida. Iesko ne pagal stringa, o pagal regexp'a. .. = single character, except newline or line terminator Jei nori, kad ieskotu ".", reikia escapint. "-=Valdas=-" wrote in message news:jcmluf$4lc$1@trimpas.omnitel.net... Na niekaip nesuprantu kodel suranda: <script> a="2011112"; t=a.search("2011.12"); alert(t); </script> gal kas turit minciu ?