sprintfhyperlinktab

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Text/Strs/Chars/Links
Introduced first in SolidGeometry 5.0, Creation date: 2020-09-21, Last change: 2025-09-14

creates a hyperlink text string from a table

Description

does support the style
{'text', 'http://....'}
{'text', '@google '}
{'text', '@wiki '}
{'text', '@open '}
{'text', '@open '}
{'text', '@matlab '}

See Also: strhyperlink , evalhyperlinktab

Example Illustration

 missing image of sprintfhyperlinktab(tab,nl,sort)

Syntax

[outstr,tab]=sprintfhyperlinktab(tab,[nl,sort])

Input Parameter

tab: hyperlink table
nl: maximum chars of per line; default is 120
sort: if true the items are sorted in alphabetic order; default is true

Output Parameter

outstr: hyperlink string
tab: table with replace macros such as '@google'

Examples


tab={'Gleitlager ohne Bund ab 1.5 mm','https://www.igus.de/product/1';
'Gleitlager 1.0 mm','https://www.igus.de/iglidur/gleitlager?sort=3&inch=false&presetindustry=1&premaxtermtemp=1&prelowtermtemp=1&presetsurpre=1&maxshaftdiam=1';};

sprintfhyperlinktab(tab)




Copyright 2020-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21