answersLogoWhite

0

What is a Str function in VB?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

Str converts a number to a string.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a Str function in VB?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you reverse a string with array and function?

<?php $str = "1234567"; $strArr = str_split($str); //split up $str by 1 character $strlen = strlen($str) - 1; //get length of $str - 1 since the $strArr starts at 0 for($i=$strlen;$i>=0;$i--) { echo $strArr[$i]; } ?>


Does vb support pointer to function discuss?

It doesn't discuss.


Which of the following function convert an object to a string in python?

By using "str()". Example: number = 2 yourNumber = print("Your number is %s!") % (str(number))


Use of puts function in clanguage?

Syntax: #include int puts( char *str );The function puts() writes str to stdout, then writes a newline character. puts() returns non-negative on success, or EOF on failure.


How do you find the length of string without using the strlen function in PHP?

$str = "Hello"; $nameArr=str_split($str); print_r($nameArr); echo "length: ".count($nameArr);


Write a program to encrypt a string and decrypt it using your own method of encryption and decryption.?

We'll use a simple method of encryption: xor encryption // same function used to both encrypt and decrypt void crypt(char *str) { const int key = 0x86; // crypt each individual character of str int i; const int length = strlen(str); for(i = 0; i < strlen(str); ++i) { str[i] = str[i] ^ key; } }


How do you program reverse letters using arrays in C plus plus?

char * RevString( char * str ){char * dup = strdup( str );size_t len = strlen( str );int x = 0;int y = len;while( x


To display string in a title case in c?

#include<stdio.h> #include<conio.h> #include<string.h> int main() { int tmp,i; char str[30]; printf("Enter any string: "); gets(str); for(i=0; str[i]!='\0'; i++) { if(str[i-1]==' ' i==0) { if(str[i]>='a' && str[i]<='z') str[i]=str[i]-32; else if(str[i]>='A' && str[i]<='Z') str[i]=str[i]+32; } printf("%c",str[i]); } getch(); return 0;}


What do the function gcvt do in C?

The gcvt() function converts a floating-point number to a string. It converts given value to a null-terminated string.example....#include #include int main(void) { char str[25]; double num; int sig = 5; /* significant digits */ /* a regular number */ num = 9.876; gcvt(num, sig, str); printf("string = %s\n", str); /* a negative number */ num = -123.4567; gcvt(num, sig, str); printf("string = %s\n", str); /* scientific notation */ num = 0.678e5; gcvt(num, sig, str); printf("string = %s\n", str); return(0); }Output:string = 9.876string = -123.46string = 67800


Weite a your own progrem to find a length of string without using library function?

int mystrlen (char* str) { int len = 0; while (*str++ != '\0') len++; return len; }


Can you write a c program to copy one string to another without using library function?

#include<stdio.h> void main() { int str[20],str1[20],i,j=1; printf("enter the string"); gets(str); for(i=1;str[i]!='\0';i++) { str1[j]=str[i]; j++; } if(str1[j]!='\0') { puts(str1); } getch(); }


A c program which will remove all the spaces from a given string?

RemoveSpaces (char *str) { char *new = str; while (*str != '\0') { if (*str != ' ') *(new++) = *str; str++; } *new = '\0'; }