Dear all,
I would like to replace a string variable which is longer than 4 digits with numbers. For example, if variable A has "swimming", "karate", "kickboxing", "basketball" then I want to change them into number 4 as they are longer than 4 characters. But not for "car" as it is shorter than 4.
Many thanks in advance. Kim
0 Response to Replace when a string variable is longer than 4 characters
Post a Comment