User Tools

Site Tools


abap:format_string

This is an old revision of the document!


ABAP : Formatting string

Substing

 DATA : w_s(10) type c VALUE 'abcdefghij'.
if w_s+1(2) = 'bc'.
  write : / ws(3). " abc
endif.

NB : Fait rarissime, cette notation est utilisable dans la plupart des instructions ABAP (comme illustré dans l'exemple ci-dessus, cela marche dans conditions, mais aussi dans paramètres d'appels les plus divers).

abap/format_string.1371572478.txt.gz · Last modified: 2013/06/18 18:21 by ginko