Switch to full style
ASP/ASP.net examples
Post a reply

add string to another, Lowercase ,Uppercase

Sat Apr 09, 2011 12:24 am

In ASP you can concatenate two strings using plus(+) operator
Code:

Dim strObj1
,strObj2,strObj
strObj1
=" my name "
strObj2=" ALI "
strObj=strObj1+ strObj2
Response
.Write "Full string "&strObj


You can get the lower case and upper case so easily like the following :
Code:
<% 
    
Dim strObjupStrObjLoStrObj
    strObj 
"  CoDeMiles"
    
Response.Write(strObj)
    
' upper case.
    upStrObj = UCase(strObj)
    ' 
lower case.
    
LoStrObj LCase(strObj)
    
Response.Write("Upper case = " upStrObj)
    
Response.Write("lower case = " LoStrObj)
%>
 




Post a reply
  Related Posts  to : add string to another, Lowercase ,Uppercase
 convert lowercase to uppercase     -  
 lowercase table content     -  
 force letters to be lowercase text-transform     -  
 check if string start with a specific sub-string in PHP     -  
 Splitting a String Based on a Found String     -  
 recursive string reversal- reverse string     -  
 check if string ends with specific sub-string in php     -  
 String token for string split     -  
 Pad a string to a certain length with another string     -  
 Echoing a String     -  

Topic Tags

ASP Strings