title: giving String to function in PL/SQL
body: <p>I have a procedure in PL/SQL, which at the end of it a string is made through a loop and is given to a function to proceed:</p>
  <pre><code>   WHILE v_entry_id &lt;= v_last_entry_id
      LOOP
          v_log_msg := '';
          SELECT error_message
              INTO v_log_msg
              FROM CORE_ERROR_TABLE 
              WHERE ENTRY_ID = v_entry_id AND RUN_ID = v_curr_run ;
              
          v_log_str := NULL ;
          
          FOR ITEM IN (SELECT * FROM CORE_ERROR_ITEM WHERE RUN_ID = v_curr_run AND ENTRY_ID = v_entry_id )
              LOOP
                  IF v_log_str is NULL
                  THEN
                      v_log_str := ITEM.item_value;
                  ELSE
                      v_log_str := v_log_str || ', ' || ITEM.item_value ;
                  END IF;
              END LOOP;
          v_entry_id := v_entry_id + 1;
          
          trace.log_audit ( l_whoami, error.gettext (v_log_msg, NULL, NULL, v_log_str) );
          
      END LOOP;
  </code></pre>
  <p>The v_log_str is like : 380, M1, 10014, 10014 .</p>
  <p>I want to error.gettext function take this as 4 parameters , but it takes whole this v_log_str as 1 Parameter. And I have no way to give these Parameters to function one by one. Does anybody know what is the solution?</p>