// Copyright Contributors to the Open Shading Language project.
// SPDX-License-Identifier: BSD-3-Clause
// https://github.com/AcademySoftwareFoundation/OpenShadingLanguage

shader u_string_v_result (output vector cout = 0) 
{
    string u_string = concat("astro physics", "12");
    string v_result = format("%g", P[0]);
    int rtype = raytype("camera");
    
    v_result = concat(format("%d", rtype), u_string);
    
    if(endswith(v_result, "12")) {
        cout = vector(u, u/v, v);
    }
}
