Skip to content
Peter Shinners edited this page Apr 13, 2021 · 6 revisions
bool containsAssetId(const std::string& str)
  • @param str The string to test.

True if input string contains a valid asset id anywhere within it.

Should parse the input string to determine whether it contains a valid asset id. Should not attempt to determine whether any asset ids found in the string actually exist in the asset database.

The string parameter uses this method prior to expanding the Asset IDs it may contain, when getFileSequenceValue() is called.

Args: value (str) : String to evaluate

Returns: (bool) Any asset id could be found

Clone this wiki locally