PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Special cases
  • NoSpace and UNICODE
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns a string after removing the spaces:
  • from the left and right side of the initial string.
  • Versions 20 and later
    Universal Windows 10 AppWindows Mobile within the string.
    New in version 20
    Universal Windows 10 AppWindows Mobile within the string.
    Universal Windows 10 AppWindows Mobile within the string.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
NoSpace("   3.75 Euros   ")   // Returns "3.75 Euros"
Versions 20 and later
NoSpace("Abra ca da bra", sscInside)   // Returns "Abracadabra"
New in version 20
NoSpace("Abra ca da bra", sscInside)   // Returns "Abracadabra"
NoSpace("Abra ca da bra", sscInside)   // Returns "Abracadabra"
Syntax
<Result> = NoSpace(<Initial string> [, <Position>])
<Result>: Character string
String without spaces.
<Initial string>: Character string (with quotes)
Initial string from which the leading and trailing spaces will be removed. This character string is not modified.
<Position>: Integer constant
Versions 20 and later
Position of the spaces to be removed. This position can correspond to one of the following constants:
sscRightRemoves spaces from the right side of the initial string.
sscLeftRemoves spaces from the left side of the initial string.
sscOutside
(Default value)
Removes spaces from both sides of the initial string.
Equivalent to sscRight + sscLeft.
sscInsideRemoves spaces within the initial string.
sscAllRemoves all spaces from the initial string.
Equivalent to sscRight + sscLeft + sscInside.
Universal Windows 10 AppAndroidAndroid Widget JavaPHP This parameter is not available.
New in version 20
Position of the spaces to be removed. This position can correspond to one of the following constants:
sscRightRemoves spaces from the right side of the initial string.
sscLeftRemoves spaces from the left side of the initial string.
sscOutside
(Default value)
Removes spaces from both sides of the initial string.
Equivalent to sscRight + sscLeft.
sscInsideRemoves spaces within the initial string.
sscAllRemoves all spaces from the initial string.
Equivalent to sscRight + sscLeft + sscInside.
Universal Windows 10 AppAndroidAndroid Widget JavaPHP This parameter is not available.
Position of the spaces to be removed. This position can correspond to one of the following constants:
sscRightRemoves spaces from the right side of the initial string.
sscLeftRemoves spaces from the left side of the initial string.
sscOutside
(Default value)
Removes spaces from both sides of the initial string.
Equivalent to sscRight + sscLeft.
sscInsideRemoves spaces within the initial string.
sscAllRemoves all spaces from the initial string.
Equivalent to sscRight + sscLeft + sscInside.
Universal Windows 10 AppAndroidAndroid Widget JavaPHP This parameter is not available.
Remarks

Special cases

  • Left can also be used to remove spaces from the right side of the string.
  • Right can also be used to remove spaces from the left side of the string.
  • Non-breaking spaces: Non-breaking spaces (ESP constant or <160> character) are not removed by NoSpace. To remove them, use NoRightCharacter with the ESP constant.

NoSpace and UNICODE

If the string passed as a parameter is an ANSI string, the result will be an ANSI string.
If the string passed as a parameter is a UNICODE string, the result will be a UNICODE string.
Remark: If the result of NoSpace on an ANSI string is assigned to a UNICODE string (and vice versa), the conversion will be implicitly performed.
For more details, see Managing UNICODE.
Component: wd260vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment