Actions

Template

Difference between revisions of "Hasref"

From Sonic Retro

(Created page with "<includeonly>{{#switch:{{{1|}}}|{{stripref|{{{1|}}}}}=|true}}</includeonly><noinclude> Returns "true" if the input string contains a ref. ==Example== <nowiki>{{hasref|test}}<...")
(No difference)

Revision as of 21:44, 3 December 2020

Returns "true" if the input string contains a ref.

Example

{{hasref|test}} ->

{{hasref|test{{ref|https://segaretro.org}}}} -> true