LoadRunner????C??????????
???????????? ???????[ 2015/11/20 14:07:11 ] ?????????????????? ??????????
????strlen:?????????????
????char str[20]="????????";
????int len;
????len = strlen(str);
????lr_output_message("str?????=%d"??len);
????Action.c(9): str?????=8
????strupr:??小写?????????写???
????char str[20] ="Welcome to the HP LoadRunner Online Function Reference";
????char *str1 = NULL;
????str1 = (char *)strupr(str);
????lr_output_message("str????????????写?%s"??str1);
????strlwr:??小写?????????写???
????char str[20] ="RONGWOXIANGXIANG";
????char *str1 = NULL;
????lr_output_message("str??????????小写?%s"??strlwr(str));
????strrchr??????????胁?????????????纬???
????char *str="Welcome to the HP LoadRunner Online Function Reference";
????char *str1;
????str1 = (char *)strrchr(str??'c');
????lr_output_message("c ????纬??????%s"??str1);
????strchr??????????胁??????????纬???
????char *str="Welcome to the HP LoadRunner Online Function Reference";
????char *str1;
????str1 = (char *)strchr(str??'c');
????lr_output_message("c????纬???????%s"??str1);
????strncpy???????????????????
????char str[100]="??????????????????????????纬?";
????char str1[100];
????strncpy(str1??str??8);
????lr_output_message("str????%s"??str1);
????strcpy???????????
????char str[100]="??????????????????????????纬?";
????char str1[100];
????strcpy(str1??str);
????lr_output_message("str????%s"??str1);
????strnicmp?????????小写????????????????
????char str[100] ="Welcome to the HP LoadRunner Online Function Reference";
????char str1[100]="WELCOME TO THE HP LOADRUNNER ONLINE FUNCTION REFERENCE";
????int num;
????num = strnicmp(str??str1??10);
????if(num == 0)
????lr_output_message("str == str1");
????else if(num > 0)
????lr_output_message("str > str1");
????else if(num < 0)
????lr_output_message("str < str1");
????stricmp?????????小写????????
????char str[100] ="Welcome to the HP LoadRunner Online Function Reference";
????char str1[100]="WELCOME TO THE HP LOADRUNNER ONLINE FUNCTION REFERENCE";
????int num;
????num = stricmp(str??str1);
????if(num == 0)
????lr_output_message("str == str1");
????else if(num > 0)
????lr_output_message("str > str1");
????else if(num < 0)
????lr_output_message("str < str1");
????strncmp:???????????????
????char str[100] = "Welcome to the HP LoadRunner Online Function Reference";
????char str1[100]= "Welcome TO THE HP LOADRUNNER ONLINE FUNCTION REFERENCE";
????int num;
????num = strncmp(str??str1??8);
????if(num == 0)
????lr_output_message("str == str1");
????else if(num > 0)
????lr_output_message("str > str1");
????else if(num < 0)
????lr_output_message("str < str1");
????strncmp:????????
????char str[100] = "Welcome to the HP LoadRunner Online Function Reference";
????char str1[100]= "Welcome TO THE HP LOADRUNNER ONLINE FUNCTION REFERENCE";
????int num;
????num = strcmp(str??str1);
????if(num == 0)
????lr_output_message("str == str1");
????else if(num > 0)
????lr_output_message("str > str1");
????else if(num < 0)
????lr_output_message("str < str1");
????strcat??????????
????char str[100]="????????";
????char str1[100]="??????????????????纬?";
????char *str2;
????str2 = (char *)strcat(str??str1);
????lr_output_message("str1????%s"??str2);
??????
???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11