changing doc format and HTML literals

This commit is contained in:
udo
2026-04-22 01:56:46 +00:00
parent 8223dcc6b3
commit f7b066b374
123 changed files with 1917 additions and 1611 deletions
+7 -6
View File
@@ -7,16 +7,17 @@ needle : substring to search for
offset : optional start offset; negative values count from the end of the string
return value : zero-based position of the first match, or `-1` if `needle` is not found
:desc
:see
>string
:content
Finds the first occurrence of `needle` inside `haystack`.
This is the closest UCE equivalent to PHP `strpos()`, but it returns `-1` instead of `false` when no match is found.
If `needle` is an empty string, `strpos()` returns the normalized start offset.
:see
>string
Related:
:related
**PHP:** `strpos()`
**JavaScript / Node.js:** `String.prototype.indexOf()`
- PHP: `strpos()`
- JavaScript / Node.js: `String.prototype.indexOf()`