সাঁচ:Str find/doc
অৱয়ব
এয়া হৈছে ‘সাঁচ:Str find’ শীৰ্ষক সাঁচটোৰ নথিকৰণৰ উপপৃষ্ঠা। ইয়াত সাঁচটো ব্যৱহাৰৰ তথ্য, শ্ৰেণীসমূহ, আন্তঃৱিকি সংযোগবোৰ আৰু অন্য সমল থাকে, যিবোৰ মূল সাঁচ পৃষ্ঠাটোৰ অংশ নহয়। |
Usage
[সম্পাদনা কৰক]{{Str find|text|sub_string}} = Position of first appearance of sub_string in text.
- Only searches first 50 characters of text. Returns -1 if sub_string not found in first 50 characters.
- Character position is 1 based (not 0 based as usual in calculations).
- Warning: if sub_string is empty, then this routine will return 1 !!! This case will often have to be handled specially.
See also
[সম্পাদনা কৰক]Template:Strfind short can handle longer strings (<99 chars), and gives far better performance, especially for short strings.
Description of all string templates