I want to test a string to see if it contains either "https://" and I can't seem to find a function to perform this test. Here is my code

if (contains(save!value,"://"), trim(save!value), "https://"&trim(save!value))

ANy help is greatly appreciated.