07-19-2009 5:38 PM
Hello Gurus,
C type and STRING type can all be used for string, what 's the difference?
Many thanks,
Frank
07-19-2009 5:49 PM
Depending upon the requirement....Both of the Data type are of use.....Char you need for small variable that can contains Character only whereas String contains Alphanumeric Characters.
07-19-2009 5:44 PM
please look at [sap documentation|http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/frameset.htm]
07-19-2009 5:49 PM
Depending upon the requirement....Both of the Data type are of use.....Char you need for small variable that can contains Character only whereas String contains Alphanumeric Characters.
07-19-2009 6:06 PM
Do you say that C cannot contain numeric characters while STRINGS can ? No, you're WRONG. The only difference is that C can hold up to 65535 characters while strings can contain more, there are also some other little differences...
07-20-2009 12:18 AM
with strings we can use following staements
SEARCH To search in a string
n REPLACE To replace the first occurrence of a string
n TRANSLATE To replace all specified characters
n SHIFT To shift a character at a time
n CONDENSE To remove spaces
n CONCATENATE To chain two or more strings together
n OVERLAY To overlay two strings
n SPLIT To split a string
cheers