Questions tagged «ends-with»

30
ජාවාස්ක්‍රිප්ට් සමඟ
ජාවාස්ක්‍රිප්ට් හි විශේෂිත අක්ෂරයකින් නූලක් අවසන් වේදැයි පරීක්ෂා කරන්නේ කෙසේද? උදාහරණය: මට නූලක් තිබේ var str = "mystring#"; මට දැන ගැනීමට අවශ්‍යයි එම නූල අවසන් වන්නේ දැයි #. මම එය පරීක්ෂා කරන්නේ කෙසේද? endsWith()JavaScript හි ක්‍රමයක් තිබේද? මට ඇති එක් විසඳුමක් නම් නූල් වල දිග ගෙන අවසාන අක්‍ෂරය ලබා ගෙන …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.