mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
findstring was backwards
This commit is contained in:
parent
047508058e
commit
dd98ca18a7
@ -369,8 +369,8 @@ value is either the empty string (false) or a nonempty string (true).
|
|||||||
$[wordsubst <from>,<to>,<text>] - like $[subst], except it only
|
$[wordsubst <from>,<to>,<text>] - like $[subst], except it only
|
||||||
replaces whole words.
|
replaces whole words.
|
||||||
|
|
||||||
$[findstring <a>,<b>] - returns <b> if and only if it is a substring
|
$[findstring <a>,<b>] - returns <a> if and only if it is a substring
|
||||||
of <a>; otherwise, returns the empty string.
|
of <b>; otherwise, returns the empty string.
|
||||||
|
|
||||||
$[sort <words>] - returns the space-separated list of <words>,
|
$[sort <words>] - returns the space-separated list of <words>,
|
||||||
sorted into alphabetical order. This also removes duplicate
|
sorted into alphabetical order. This also removes duplicate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user