If the user can define a character string in the Parameter group of the Subentity tab, the user is able to use the character string in User Subroutine.
Figure 1 String icon in the Parameter group of the Subentity tab
More:
Step to register the String
Step to use the String in the USUB