Thursday, January 25, 2024

String Format VB.NET

 String->  str_otlQuery = select employee_number  from HR.PER_ALL_PEOPLE_F where NATIONAL_IDENTIFIER='{0}'


String.Format(str_otlQuery,"111-11-1111")


Output -> select employee_number  from HR.PER_ALL_PEOPLE_F where NATIONAL_IDENTIFIER='111-11-1111'

No comments: