Template:User:Clusternote/scan century as integer/str find numeric
Jump to navigation
Jump to search
-1
User:Clusternote/scan century as integer/str find numeric
- Returns the first position of the numerical character of the target text.
Usage
[edit]- {{ User:Clusternote/scan century as integer/str find numeric | text = <target text> }}
Tests
[edit]{{Template:User:Clusternote/scan century as integer/str find numeric|text=Musical instruments in the 4th century BC}}
- ⇒28
{{Template:User:Clusternote/scan century as integer/str find numeric|text=Musical instruments in the Nth century BC}}
- ⇒-1
{{Template:User:Clusternote/scan century as integer/str find numeric|text=Musical instruments in the 9876543210th century BC}}
- ⇒28
See also
[edit]- Template:User:Clusternote/scan century as integer/str find numeric
- Template:User:Clusternote/scan century as integer/str get number
- Template:User:Clusternote/scan century as integer
- Template:User:Clusternote/scan century as integer/format century from integer
- Template:User:Clusternote/scan century as integer/IsCenturyBC