Template:User:Clusternote/scan century as integer
Jump to navigation
Jump to search
User:Clusternote/scan century as integer
- Returns the century as <integer>, interpreted from the target text containing the format "<integer>{th|rd|st} century [BC]".
Usage
[edit]- {{ User:Clusternote/scan century as integer | [text] = <target text> }}
Test
[edit]{{Template:User:Clusternote/scan century as integer|Musical instruments in the 4th century BC}}
- ⇒-4
{{Template:User:Clusternote/scan century as integer|Musical instruments in the 4th century}}
- ⇒4
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